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

Re: [MacPerl] Using UNIX style filenames with MacPerl



Carl Johan Berglund writes:
|What about a class?
|use File::Name;

There's already a File::Spec class that does this. It has the same problems
that have been discussed here for embedding path conversion stuff in perl,
but it may be useful in some cases.

I find the easiest way to deal with the problem is what someone else
suggested--set a variable at the start of the program that contains :
under MacPerl and / under Unix or Windows perl, and use it instead of
a separator in paths.

Brian

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