in reply to
Taking file from current working directory
How about $ENV{PWD} ?
--
jpg
Comment on
Re: Taking file from current working directory
Replies are listed 'Best First'.
Re^2: Taking file from current working directory
by
mosh
(Scribe)
on May 23, 2005 at 12:39 UTC
I develop on Win32 OS, so either PWD or './' isn't relevant...
Mosh.
[reply]
Re^3: Taking file from current working directory
by
holli
(Abbot)
on May 23, 2005 at 12:45 UTC
the dot "." represents the current working directory, even on Win32. Also Perl handles both kinds of slashes transparently.
holli,
/regexed monk/
[reply]
[d/l]
In Section
Seekers of Perl Wisdom