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

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

source

Leave a Reply