in reply to Re^3: Current working directory on win32
in thread Current working directory on win32

pernod,
Notice kamesh3183 said the command prompt and didn't indicate if it was in the same directory. Win32 aside, see the difference:
$ cat /tmp/foo.pl #!/usr/bin/perl use strict; use warnings; use FindBin; use Cwd; print "FindBin: $FindBin::Bin\n"; print "Cwd: ", cwd(), "\n"; $ ./tmp/foo.pl FindBin: /tmp Cwd: /

Cheers - L~R