Just another Perl shrine | |
PerlMonks |
Re: Er...by Solo (Deacon) |
on Feb 10, 2003 at 22:26 UTC ( [id://234259]=note: print w/replies, xml ) | Need Help?? |
Actually, push @anything, "$lines" creates an array of scalars, which is why jeffa warns against it--since it may not be what you wanted.
To your original question, push @{$FULLLINES{$account}}, “$lines”; is populating an anonymous arrayref for key $account in the %FULLLINES hash. %FULLLINES would look something like this:
When in doubt, you can
--
In Section
Seekers of Perl Wisdom
|
|