[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] File::Spec::Mac



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've put a revised version of File::Spec::Mac at
<ftp://ftp.clark.net/pub/schinder/Beta/Mac.pm>.  It was revised because I
realized that

     File::Spec->catfile($ENV{HOME},"file");

and

     File::Spec->catfile($ENV{HOME},":file");

better give the same answer, and better give the same answer whether or not
$ENV{HOME} is : terminated.  And after looking at Matthias'
ExtUtils:MM_Mac.pm, I realised that ->path should give back something
useful if you're using MPW.

At the moment catfile/catdir only give back absolute paths (unless you put
a : at the begining, of course).  I consider this a problem with
File::Spec, and am trying to get a way for the user to portably force
relative or absolute paths into File::Spec.

Comments are welcome, especially if you think I've done the wrong thing.

- -----
Paul J. Schinder
schinder@pobox.com


-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBNO7izVZaVc52j0XhEQIuDwCfWzia3WuSEU0rLJZlahS3rTorDgkAoNWy
hmvFZ+RoB4sgP4fn8hfhaiIy
=8zbx
-----END PGP SIGNATURE-----


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch