in reply to Calling a function that may not be there...
# 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
|
|---|