in reply to Re^2: reiterateing over array
in thread reiterateing over array
use List::Util qw( first ); my $pro = first { $user[0] eq $_ } @protected; do_stuff_with( $pro ) if defined $pro;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: reiterateing over array
by blazar (Canon) on Aug 20, 2008 at 18:20 UTC |