go ahead... be a heretic | |
PerlMonks |
Re: Updated Hashes & Arraysby davidrw (Prior) |
on Aug 29, 2005 at 21:19 UTC ( [id://487567]=note: print w/replies, xml ) | Need Help?? |
The elements of the array need to be hashrefs, so do this instead: Please use strict; and use warnings .. the line my @ar = @{subjects{$key}}; is missing a "$" .. also note you can write that output as:
In Section
Seekers of Perl Wisdom
|
|