ikegami++, good reply. The only thing I'd do differently is use the class method syntax for calling UNIVERSAL::can. I think it looks nicer:
__PACKAGE__->can('myfunc'); $pkg->can('myfunc');
In reply to Re^2: How do you determine if a user-defined function exists?
by revdiablo
in thread How do you determine if a user-defined function exists?
by beable
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |