in reply to Closing a system process after file creation (was: One for the Wisest Monks)
Your system call is waiting for input from stdin. You could call 'touch' instead, but how about a pure perl solution?
You are likely to want a more economical representation of your counter, sooner or later. You should think about flock when you design it.{ my $fh; open $fh, '>', "/path/to/${num}.bat" or die $!; }
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: One for the Wisest Monks
by TexasTess (Beadle) on Jun 02, 2002 at 11:29 UTC |