beable has asked for the wisdom of the Perl Monks concerning the following question:
How do you determine if a user-defined function exists? For example:
sub myfunc { return "blah blah" . shift; } sub checker { # here I want to find out if myfunc() exists, but # without executing it. # myfunc() might be in a module somewhere. }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How do you determine if a user-defined function exists?
by ikegami (Patriarch) on Nov 29, 2004 at 23:44 UTC | |
by revdiablo (Prior) on Nov 30, 2004 at 01:14 UTC | |
by chromatic (Archbishop) on Nov 30, 2004 at 02:58 UTC | |
Re: How do you determine if a user-defined function exists?
by bart (Canon) on Nov 30, 2004 at 01:13 UTC | |
Re: How do you determine if a user-defined function exists?
by ysth (Canon) on Nov 30, 2004 at 07:12 UTC |
Back to
Seekers of Perl Wisdom