in reply to How to dereference with sub hashes array...?

Your commented-out "push" statements would work with a slight modification:
push @{ $href->{$key} }, "whatever"; #== Notice the de-reference operator here.

             "I'm fairly sure if they took porn off the Internet, there'd only be one website left, and it'd be called 'Bring Back the Porn!'"
        -- Dr. Cox, Scrubs

Replies are listed 'Best First'.
Re^2: How to dereference with sub hashes array...?
by ksa1 (Initiate) on Apr 17, 2013 at 07:28 UTC
    Thanks all, everything works now! :)