in reply to Autovivification in perl
push @{ $at_line{$string} }, $line_number;
instead of
$at_line{$string} = [] unless exists $at_line{$string}; push @{ $at_line{$string} }, $line_number;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Autovivification in perl
by ikegami (Patriarch) on Jan 10, 2014 at 20:27 UTC |