in reply to Re^3: array processing
in thread array processing
Using a hash is the best plan.if ($line =~ /Login succeeded. User: (\w+)/i) { my $user = $1; push @users, $user unless grep (/$user/i, @users); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: array processing
by tirwhan (Abbot) on Dec 06, 2005 at 11:55 UTC |