in reply to
How could you make a script think it's running in its own directory?
thankyou---chdir and File::Basename was what I was looking for.
Cheers
why_bird
........
Those are my principles. If you don't like them I have others.
-- Groucho Marx
.......
Comment on
Re: How could you make a script think it's running in its own directory?
Replies are listed 'Best First'.
Re^2: How could you make a script think it's running in its own directory?
by
bart
(Canon)
on Mar 27, 2008 at 11:58 UTC
There's also
FindBin
but I don't recommend its use, I've had troubles with it in the past (permissions issues in CGI scripts on Linux) plus, like tye said,
FindBin is broken
.
[reply]
In Section
Seekers of Perl Wisdom