Integrate perlio:
[p5sagit/p5-mst-13.2.git] / lib / Pod / Find.pm
index 6d4907c..759cd3d 100644 (file)
@@ -163,6 +163,7 @@ sub pod_find
         # on VMS canonpath will vmsify:[the.path], but File::Find::find
         # wants /unixy/paths
         $try = File::Spec->canonpath($try) if ($^O ne 'VMS');
+        $try = VMS::Filespec::unixify($try) if ($^O eq 'VMS');
         my $name;
         if(-f $try) {
             if($name = _check_and_extract_name($try, $opts{-verbose})) {