![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: adding temporary method to a classby duckyd (Hermit) |
on Sep 20, 2006 at 16:57 UTC ( #573943=note: print w/replies, xml ) | Need Help?? |
If don't want to add the method just locally, you can remove it using undef *Class::method;. Here's an example:
output:
In Section
Seekers of Perl Wisdom
|
|