in reply to Re: Taking file from current working directory
in thread Taking file from current working directory

That doesn't help at all. The OP does not what the current working directory is, so he can't cwd there.

Update: striked. Looks like I am a dumb today.



holli, /regexed monk/

Replies are listed 'Best First'.
Re^3: Taking file from current working directory
by polettix (Vicar) on May 23, 2005 at 12:42 UTC
    Uh?
    This module provides functions for determining the pathname of the current working directory. It is recommended that getcwd (or another *cwd() function) be used in all code to ensure portability.
    Seems a little more portable than "./", but I might be missing something.

    Update: ah, maybe I understand now. CWD stands for "Current Working Directory", the function tho change directory in Perl is chdir. That's what maybe misguided you.

    Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')

    Don't fool yourself.