require('perlmonk.pm'); if(defined 'perlmonk'->funnyfunction()) { print "YES it DOES exist!"; } else { print "NO, it does NOT exist!"; }
In reply to How to check if a function exists within a package? by rapide
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |