Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: Multiple package versions (use only modules cpanfile pinto carton local::lib install_base))by Anonymous Monk |
on Jun 13, 2015 at 01:22 UTC ( [id://1130261]=note: print w/replies, xml ) | Need Help?? |
However, if I load other version of the same module they don't seem to get loaded (I suspect there's namespace collision). Yeah, namespaces are global If you're improving the API, why not improve the names? If you module was OOpy it could be much simpler, simply export a sub that returns the name of the subclass ... or just make sure the caller inherits from it You could simply disallow fully qualified names (MyLib::Foo()) and simply export the appropriate sub Foo And there is always source filters
In Section
Seekers of Perl Wisdom
|
|