Change 11193 by pudge@pudge-home on 2001/07/07 17:26:28

        Fix up AutoLoader to fudge for Mac paths in import().

Affected files ...

... //depot/maint-5.6/macperl/lib/AutoLoader.pm#2 edit

Differences ...

==== //depot/maint-5.6/macperl/lib/AutoLoader.pm#2 (text) ====

3c3
< use 5.005_64;
---
> use 5.6.0;
67c67,68
<                   }elsif ($is_vms) {
---
>                   }
>                   elsif ($is_vms) {
141c142,148
<       $path =~ s#^(.*)$calldir\.pm$#$1auto/$calldir/autosplit.ix#;
---
>       if ($is_macos) {
>           (my $malldir = $calldir) =~ tr#/#:#;
>           $path =~ s#^(.*)$malldir\.pm\z#$1auto:$malldir:autosplit.ix#s;
>       } else {
>           $path =~ s#^(.*)$calldir\.pm\z#$1auto/$calldir/autosplit.ix#;
>       }
> 

Reply via email to