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; } ...
In reply to Re: Loading a HoH
by Enlil
in thread Loading a HoH
by TStanley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |