John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
I tried taking a reference to it in an eval block, but found that it never gives an error. I guess you can take a ref to a non-existing sub and it auto-vivafies or something. I'm afraid looking in the %Module:: hash would do the same thing, wouldn't it?
So how can I tell if the function is implemented in that module, without actually calling it?
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to tell if a function exists?
by Paladin (Vicar) on Jan 05, 2003 at 02:00 UTC | |
by John M. Dlugosz (Monsignor) on Jan 05, 2003 at 04:58 UTC | |
|
Re: How to tell if a function exists?
by pg (Canon) on Jan 05, 2003 at 02:27 UTC | |
by aspen (Sexton) on Jan 05, 2003 at 07:06 UTC |