Tk::PerlMethodListTk::PerlMethodList is a Perl module to query the Symbol-table for methods (subroutines) defined in a class (package). | |
Download |
Tk::PerlMethodList Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Christoph Lamprecht
- Publisher web site:
- http://search.cpan.org/~lamprecht/Tk-PerlInheritanceTree-0.04/lib/Tk/PerlInheritanceTree.pm
Tk::PerlMethodList Tags
Tk::PerlMethodList Description
Tk::PerlMethodList is a Perl module to query the Symbol-table for methods (subroutines) defined in a class (package). Tk::PerlMethodList is a Perl module to query the Symbol-table for methods (subroutines) defined in a class (package) and its parents.SYNOPSISrequire Tk::PerlMethodList;my $instance = $main_window->PerlMethodList();Tk::PerlMethodList is a Tk::Toplevel-derived widget.The window contains entry fields for a classname and a regex. The list below displays the subroutine-names in the package(s) of the given classname and its parent classes. In case of imported subs, the last field of a row contains the name of the aliased sub as reported by DevelPeek::CvGV. Tk::PerlMethodList will not show subs which can be - but have not yet been autoloaded. It will show declared subs though. The 'Filter' entry takes a regex to filter the returned List of sub/methodnames.If the file containing a subroutine definition can be found in %INC, a green mark will be displayed at the beginning of the line. The sourcecode will be displayed by clicking on the subs list-entry.Method list and source window have Control-plus and Control-minus bindings to change fontsize.METHODSTk::PerlMethodList supports the following methods:classname('A::Class::Name')Set the classname-entry to 'A::Class::Name'.filter('a_regex')Set the filter-entry to 'a_regex'.show_methods()Build the list for classname and filter present in the entry-fields.OPTIONSTk::PerlMethodList supports the following options:-classname$instance->configure(-classname =>'A::Class::Name') Same as classname('A::Class::Name').-filter$instance->configure(-filter =>'a_regex') Same as filter('a_regex'). Requirements: · Perl
Tk::PerlMethodList Related Software