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

Re: [MacPerl] create alias, create folder



>At 14.51 1998.03.28, Kevin Walker wrote:
>>mkdir "crumhorn:test dir:", 0755;       # second arg required, even in
>>MacPerl
>
>Little FYI, you can give it a mode 0, too; i.e., you need the parameter,
>but its value is meaningless.  Any defined value works, though a
>non-numeric value will generate an error with -w.

However, if you suspect, even remotely, that you might one day try to
convert your script to run under UNIX, don't use a mode of zero, since
it's likely to be one more source of headscratching when you find that
your directory is being created properly, but is inaccessible.

--
Paul DuBois
paul@snake.net
Home Page: http://www.primate.wisc.edu/people/dubois
Software:  http://www.primate.wisc.edu/software



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