Subject: | Classic Mac absolute paths come out as relative in Unix |
When converting a Classic Mac path to Unix (i.e. OS 9 to OS X), the absoluteness of the path is lost. For example:
use Path::Class qw(foreign_dir);
my $dir = foreign_dir("Mac", "Macintosh HD:Users:chris:");
print $dir->as_foreign("Unix"),"\n";
Actual result:
Users/chris
Expected result:
/Users/chris
This is with
OS X 10.4.3
Perl 5.8.6 (Apple's build)
Path::Class 0.15
File::Spec 3.14
Mac::Files 1.09