On Monday 14 January 2002 08:58 pm, Chris Anderson wrote:
> I need to be able to do a wget (But not with a system() command if
> possible)
> I need to get the current directory. In Linux I type pwd and it shows it
> to me, or
> I can use the $PWD variable. But if I :
>         print "The current path is: $PWD";
> it is blank.
> How can I get the current path variable?
>
> TIA!


In Linux (and probably any other *nix), use $ENV{PWD}

Steven

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to