On Mon, Sep 23, 2013 at 2:32 PM, Jing Yu <logus...@googlemail.com> wrote: > Hi Luca, > > Doesn't it autovivify $hash_ref->{$key} when you push $new_value to it? > > At least when I tested the following code, it worked. > > push @{ $hash_ref->{$key} }, $new_value; >
Correct! How did I not come to this? Thanks, Luca -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/