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

Re: Addition to @INC

October 20, 1999 15:24
Re: Addition to @INC
Message ID:
>>>>> "Ed" == Ed Peschko <> 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
<> <URL:>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See for onsite and open-enrollment Perl training! Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About