more useful options | |
PerlMonks |
Re: Create Arrays On-the-Flyby fullermd (Priest) |
on May 27, 2009 at 17:06 UTC ( [id://766479]=note: print w/replies, xml ) | Need Help?? |
You can have an array of hash refs instead.
Then you can grab the bits like
etc. To build it on the fly, you'd have code like:
This is pretty well covered in the documentation, such as in perlreftut and perldsc.
In Section
Seekers of Perl Wisdom
|
|