# I know foo() and bar() exist... # but not too sure of xyzzy() or quux() foo(); eval { xyzzy() }; # $@ will have a value if xyzzy() isn't defined bar(); eval { quux() }; # $@ will have a value if quux() isn't defined
In reply to Re: Calling a function that may not be there...
by japhy
in thread Calling a function that may not be there...
by Hammy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |