projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Document that File::Find doesn't follow symlinks
[p5sagit/p5-mst-13.2.git]
/
lib
/
FindBin.pm
diff --git
a/lib/FindBin.pm
b/lib/FindBin.pm
index
d908121
..
918775c
100644
(file)
--- a/
lib/FindBin.pm
+++ b/
lib/FindBin.pm
@@
-91,6
+91,12
@@
sub is_abs_path
{
return m#^[a-z]:[\\/]#i;
}
+ elsif ($^O eq 'VMS')
+ {
+ # If it's a logical name, expand it.
+ $_ = $ENV{$_} while /^[\w\$\-]+$/ and $ENV{$_};
+ return m!^/! or m![<\[][^.\-\]>]! or /:[^<\[]/;
+ }
else
{
return m#^/#;