Sorry. I guess 3-char extensions are pretty pervasive:)
It might be a tad more efficient to use a hash instead of greping an array for the lookup.
sub wait_for_files{ my %not_changed = %{ +shift }; while( sleep 1 and keys %not changed ) { -e and delete $not_changed{ $_ } for keys %not_changed; } }
In reply to Re: Re: Re: Waiting For File Extension Changes
by BrowserUk
in thread Waiting For File Extension Changes
by Murpher
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |