Message-Id: <
A3E1AAA0-BC81-11D7-B0BB-003065F6D85A@mathforum.org>
p4raw-id: //depot/perl@20197
return '' unless -w $fspec;
$fspec =~ s#/$##;
if ($fspec =~ m#/#) {
- ($parent = $fspec) =~ s#/[^/]+$#;
+ ($parent = $fspec) =~ s#/[^/]+$##;
return (-w $parent);
}
elsif ($parent = fileify($fspec)) { # fileify() here to expand lnms