Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
is that possible?for ($i=0; defined($i); $i++){ unless (-e "./tempads/$i.dat" || <file is locked> ){ open (FILE, ">./tempads/$i.dat"); print FILE "stuff"; close FILE; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: file locked?
by tachyon (Chancellor) on Jun 10, 2001 at 00:22 UTC | |
|
Re: file locked?
by Abigail (Deacon) on Jun 10, 2001 at 17:58 UTC |