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

Re: [MacPerl] IO:: problems



At 11.06 9/18/97, Mark Manning/Muniz Eng. wrote:
>You can't open the file you are executing at the same time
>you are attempting to execute the file can you?  Wouldn't
>that give you an error?

Shouldn't.  So long as you aren't writing to the file in either case, or
lock it, then there should be no problem.  Perl doesn't care who else is
doing what with which file.  It is your responsibility to make sure you get
an exclusive lock (or the MacOS equivalent) if you want it.

Heck, you could still execute the file while writing to it, though I
wouldn't recommend that.  :-)

--
Chris Nandor             pudge@pobox.com             http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])



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