in reply to Pushing into a hash of arrays

There is a way i.e.
push @{ $directory{owner1} }, $value;
or
push @{ $directory{owner1}{0} }, $value;
if there actually is an intermediate hash with key "0" that holds the array (I'm not sure why you need the intermediate hash).

Updated: D'oh! Added missing commas in code samples (thanks hdb / choroba / davido !)

Replies are listed 'Best First'.
Re^2: Pushing into a hash of arrays
by alberto_zurita (Initiate) on Mar 17, 2015 at 19:51 UTC
    Thanks to all for you answers! ;)