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

[MacPerl] Using UNIX style filenames with MacPerl



Just a spark:

Would it be possible to "teach" MacPerl to directly support the 
UNIX-style file and pathnames when accessing files.

Rationale: It is rather annoying to dig and hunt for all those numerous 
occurences of "/" or lack of "/" in filenames and change all to ":" or 
whatever.

Under the (false) assumption a pathname is really a list of durectory 
names spererated by "/" this would give the same (false) view of a file 
in the filesystems as an FTP URI.

And would give more portable perl scripts (while sacrificing the 
Macintosh way or even cementing the UNIX stylisms of pathnames instead of 
some "intelligent" meta description).

Similar stuff is implemented with Metrowerks Codewarrior, Access Path 
setting; under (checkbox) option "Use DOS and UNIX pathnames" (or 
similar).

Is such a feature useful?

(And how can one simulate the "make; make test; make instal" of the usual 
CPAN package installationsÉ)

Comments?
-- Gerald

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