![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re^5: Split file output into array of arraysby GrandFather (Saint) |
on Feb 17, 2010 at 19:27 UTC ( [id://823792]=note: print w/replies, xml ) | Need Help?? |
That looks backwards to me. In fact I'd code access as:
$records[firstrecord][firstarray] could also be written $records[firstrecord]->[firstarray] to emphasise that @records is an array of references to arrays. Keep in mind that Perl only allows scalar values for arrays and hashes, but a reference to something (like and array) is a scalar. True laziness is hard work
In Section
Seekers of Perl Wisdom
|
|