good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: How can I (safely) use packages of the same name but different versions?by samtregar (Abbot) |
on Mar 11, 2008 at 20:31 UTC ( [id://673608]=note: print w/replies, xml ) | Need Help?? |
Problem 0: your technique doesn't work at all. Modifying @INC won't change what function is called, it only affects require and use.
I think you need to slow down - what's the real problem you're trying to solve? Are you trying to create a dynamic plugin system? -sam
In Section
Seekers of Perl Wisdom
|
|