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

Re: [MacPerl] Using UNIX style filenames with MacPerl



At 20.43 +0200 98-05-17, Brian "L." Matthews wrote:
>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.

$dlm = $^O eq 'MacOS' ? ':' : $^O =~ /^Win/ ? '\' : '/';


___Carl_Johan_Berglund_________________________
   Adverb Information
   carl.johan.berglund@adverb.se
   http://www.adverb.se/



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