shotgunefx has asked for the wisdom of the Perl Monks concerning the following question:
I was thinking since this needs an actual array (or something that looks like an array), that this would probably fit best under the ARRAY namespace.my @giant_array = (defined elsewhere); while ( my $pid = findone{ matches_criteria($_) } @giant_array){ # Do something with element found. }
|
---|