Message-Id: <
200201190400.XAA16899@mailhub1.stratus.com>
p4raw-id: //depot/perl@14343
my $pwd_cmd =
($^O eq "MSWin32" || $^O eq "NetWare") ?
"cd" :
- (grep { -x && -f } map { "$_/pwd" }
+ (grep { -x && -f } map { "$_/pwd$Config{exe_ext}" }
split m/$Config{path_sep}/, $ENV{PATH})[0];
$pwd_cmd = 'SHOW DEFAULT' if $IsVMS;