Posted By

noah on 01/16/08


Tagged

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
 

URL: http://perldoc.perl.org/perldsc.html#Declaration-of-a-HASH-OF-ARRAYS

  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.