Philforeach my $i ( 1..10 ) { # look for file, if it's there quit happily sleep 6; # wait 6 seconds and try again } # perhaps make one final check # quit unhappily
In reply to Re: Using the alarm function in ActiveState Perl 5.8 for FileWatch
by philcrow
in thread Using the alarm function in ActiveState Perl 5.8 for FileWatch
by mantra2006
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |