in reply to Getting information from an array of hashes
You should probably read
perldoc perldsc so that you understand why your
code is wrong.
In a nutshell, it's because anything inside a data structure is a scalar -- either a plain scalar or a reference (e.g. to an array or a hash). There are no arrays inside arrays, only arrayrefs inside arrays (or inside hashrefs inside arrays, or... etc.).
hdp.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Getting information from an array of hashes
by chumley (Sexton) on Apr 26, 2001 at 01:16 UTC | |
by hdp (Beadle) on Apr 26, 2001 at 01:36 UTC | |
by chumley (Sexton) on Apr 26, 2001 at 03:53 UTC | |
by hdp (Beadle) on Apr 26, 2001 at 04:05 UTC |
In Section
Seekers of Perl Wisdom