in reply to Re^2: Variable naming of Arrays
in thread Variable naming of Arrays
You can't use push with a hash. But you can use push with an array reference if you dereference it first.
$arrays{bart} = [ 1, 2, 3 ]; push @{$arrays{bart}}, 4, 5;
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|