Rather than defined, use:
print scalar %{ List::Util:: };; 18/32 print scalar %{ Non::Existant:: };; 0
In reply to Re: Check if a package exists
by BrowserUk
in thread Check if a package exists
by Cybris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |