Front page | perl.beginners |
Postings from February 2002
Re: use lib question
Thread Previous
|
Thread Next
From:
merlyn
Date:
February 5, 2002 09:08
Subject:
Re: use lib question
Message ID:
m14rkv97re.fsf@halfdome.holdit.com
>>>>> "Jeff" == Jeff 'Japhy' Pinyan <jeffp@crusoe.net> writes:
Jeff> use lib $ARGV[0] eq '-foo' ? "/this/path" : "/that/path";
I don't believe @ARGV is set up early enough to do that. I'd be happy
if that worked, but I'm suspicious. Have you tested this?
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Thread Previous
|
Thread Next