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

Re: [MacPerl] Path-separator (was: Newlines)



At 05:14 +0200 13-10-97, Chris Nandor wrote:
>At 22.20 10/12/97, Terje Bless wrote:
>>What if Perl core syntax sez that all functions that take a path as a
>>parameter, expects the path to be in the traditional UNIX style.
>
>What if you have a file with a / in its name?

Then you escape it. "chdir(/Weird MacHD/Name/with/a/\/in/it/);".



--
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



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