Posted By

noah on 01/16/08


list array hash push multidimensional 2-d

Versions (?)

Push a new member into an array that is contained in a hash value

 / Published in: Perl


  1. # append new members to an existing hash of arrays
  2. push @{ $HoA{"simpsons"} }, "lisa", "maggie";

Report this snippet  

You need to login to post a comment.