in reply to Getting current directory

Greetings JojoLinkyBob,

use Cwd; my $cwd = cwd();

You'll end up with the full directory path. On Win32, the "\"s are changed to "/"s. You also get the "C:" at the front.

-Gryphon.

Replies are listed 'Best First'.
Re: Re: Getting current directory
by JojoLinkyBob (Scribe) on Feb 10, 2001 at 00:37 UTC
    Awesome, thanks!
    Desert coder