If $f is a code ref, you're good. Otherwise, $f is a symbol, and you can provide messages for !exists(&$f) and !defined(&$f).
In reply to Re^3: My AUTOLOAD doesn't work in newer Perls. How to fix?
by ikegami
in thread My AUTOLOAD doesn't work in newer Perls. How to fix?
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |