S
Scott
[scott@FreeBSD ~/perl]$ cat cwd.pl
#!/usr/bin/perl
#
use Cwd;
$dir = getcwd();
print "$dir\n";
[scott@FreeBSD ~/perl]$ perl cwd.pl
/usr/home/scott/perl # How does this "/usr" prefix come?
[scott@FreeBSD ~/perl]$ pwd
/home/scott/perl
[scott@FreeBSD ~/perl]$
#!/usr/bin/perl
#
use Cwd;
$dir = getcwd();
print "$dir\n";
[scott@FreeBSD ~/perl]$ perl cwd.pl
/usr/home/scott/perl # How does this "/usr" prefix come?
[scott@FreeBSD ~/perl]$ pwd
/home/scott/perl
[scott@FreeBSD ~/perl]$