Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- growing hashes of arrays
August 15, 2009, 1:52 pm
rate this thread
Re: growing hashes of arrays
push @}, $value;
Perl does autovivification, that is if it encounters the mention
of a hash entry outside of a call to "exists", it automatically
creates it with the type deduced from the context it is used in.