if (grep {$_ eq $filename} @index_file_names) {
is basically the same as
my $found; for (@index_file_names) { ++$found if $_ eq $filename; } if ($found) {
In reply to Re: Is there a way around grep?
by ikegami
in thread Is there a way around grep?
by mdegges
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |