push @{ $at_line{$string} }, $line_number;
instead of
$at_line{$string} = [] unless exists $at_line{$string}; push @{ $at_line{$string} }, $line_number;
In reply to Re: Autovivification in perl
by choroba
in thread Autovivification in perl
by rammohan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |