in reply to Re: Is any simple way to get the current directory name?
in thread Is any simple way to get the current directory name?

There's two ways you could approach this..
The win32 way.
#!/usr/bin/perl -w use strict; use Win32; my $dir = Win32::GetCwd; print "$dir";
or the other way..
#!/usr/bin/perl -w use strict; use Cwd; my $dir = cwd; print "$dir";