in reply to Loading a HoH
As last will break you out of the innermost enclosing loop which in this case is the foreach.... foreach my $regex(@LineRegexs){ if($line=~$regex){ $hash{$count}{$1}=$2; $hash{$count}{$3}=$4; last; } next; } ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Loading a HoH
by tadman (Prior) on Oct 11, 2002 at 16:19 UTC |