Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: How to tell if a package is loadedby educated_foo (Vicar) |
on May 02, 2011 at 23:38 UTC ( [id://902592]=note: print w/replies, xml ) | Need Help?? |
Kind of. Remember that a file can define more than one package, e.g.
If you want to know if a package is defined, rather than whether a correspondingly-named file has been loaded, the OP's approach is correct.
In Section
Seekers of Perl Wisdom
|
|