On Mon, Sep 23, 2013 at 2:32 PM, Jing Yu <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
