$uCount is totally useless. For/foreach aliases $_ to each element of the array.
my $zipCheck; for (@uploads) { if (/\.zip\z/) { ++$zipCheck; last; } } die "There were no zip files\n" if !$zipCheck;
In reply to Re: Faster Method for check function.
by ikegami
in thread Faster Method for check function.
by Karger78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |