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

Re: [MacPerl] Using UNIX style filenames with MacPerl



I've been following this thread with interest. I suspect I want to solve
the same problem as most of the people saying they want UNIX filenames to
work with MacPerl. I compose Perl on my Mac and then need to move it over
to a Unix platform that hosts my web pages. I create everything in a
folder/directory on my Mac. All the file names and subdirectory names are
acceptable to both Unix and Mac systems (and most browsing software  and
PERL), i.e. no colons or slashes or spaces.

There are ways to deal with this problem.  In my case I just manually
change the directory names, though I store the names if variables so I
don't have to change that many. I think most MacPerl users simply want to
be able to  have a standard way to program for Unix Perl on the Mac (and
perhaps vice versa) without having to embed extra code or flags to check
which platform the system is running on. This is much less than being able
to cope with all the vagaries of Unix vs Mac file names, systems, and
networks. Mostly I just want to be able to write something that will be
taken to be  ./dir1/fn2 or dir1/fn2 on unix and :dir1:fn2 on the Mac. I
would prefer it to look like the Unix.

Josh Kuperman
josh@racing.saratoga.ny.us
http://www.racing.saratoga.ny.us/~josh



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