develooper Front page | perl.perl5.porters | Postings from October 1999

Re: Addition to @INC

From:
merlyn
Date:
October 20, 1999 15:24
Subject:
Re: Addition to @INC
Message ID:
m11zapllha.fsf@halfdome.holdit.com
>>>>> "Ed" == Ed Peschko <Ed_Peschko@csgsystems.com> writes:

Ed> How difficult would it be to add the path of the current working directory
Ed> of the script itself into INC? I'm finding myself constantly doing the following
Ed> hack:

It cannot be done with certainty.  And yes, Tom's post shows that
there already is a way to do it with some uncertainty.

I would be opposed to putting it in because it's expensive to do,
and not used for 99% of my programs. :)

-- 
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!



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About