There's more than one way to do things | |
PerlMonks |
Re: Conditional 'use lib'by Chmrr (Vicar) |
on Feb 26, 2003 at 08:04 UTC ( [id://238701]=note: print w/replies, xml ) | Need Help?? |
The work is done inside of lib.pm's import method, so you might try:
The advantage of this over the unshift trick is that you'll get architecture-dependent paths added, as well. perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
In Section
Seekers of Perl Wisdom
|
|