Do $ perl -e'print "@INC"' from the command line to see whether the core lib location or '.' (dot) is searched first. B is perl's core backend module, and doesn't have a foo() function.
After Compline,
Zaxo
In reply to Re: Inheritance strangeness
by Zaxo
in thread Inheritance strangeness
by cleverett
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |