|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: query for methods?by ariels (Curate) |
| on Jul 03, 2002 at 09:26 UTC ( #179106=note: print w/ replies, xml ) | Need Help?? |
|
The debugger command `m' shows "methods" defined for a package, so you certainly can do it. How? Look for functions referenced in the %{PACKAGE_NAME::} hash. Here's an example... Run giving a package name as argument. Note that we're using some symrefs here (to access the %{"${pkg}::"} hash), so as least that line should be free of strictness.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||