Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Avoiding user-input in sub calls.by runrig (Abbot) |
on Nov 01, 2003 at 16:49 UTC ( [id://303817]=note: print w/replies, xml ) | Need Help?? |
Yet another way (OO style): Doing it this way you'd have to first make sure that $sub is not one of the UNIVERSAL::* methods (can, isa, ??? -- update: or define your own 'can' and 'isa' which just goes to 'one').
In Section
Seekers of Perl Wisdom
|
|