in reply to How can I (safely) use packages of the same name but different versions?
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How can I (safely) use packages of the same name but different versions?
by xevian (Sexton) on Mar 11, 2008 at 20:55 UTC | |
by samtregar (Abbot) on Mar 11, 2008 at 21:24 UTC | |
by xevian (Sexton) on Mar 11, 2008 at 22:00 UTC | |
by samtregar (Abbot) on Mar 11, 2008 at 22:40 UTC | |
Re^2: How can I (safely) use packages of the same name but different versions?
by Errto (Vicar) on Mar 12, 2008 at 16:05 UTC | |
by samtregar (Abbot) on Mar 12, 2008 at 16:08 UTC | |
by Errto (Vicar) on Mar 12, 2008 at 17:58 UTC |
In Section
Seekers of Perl Wisdom