Syntactic Confectionery Delight | |
PerlMonks |
Re^2: confused with summing certain elements from an arrayby GrandFather (Saint) |
on Nov 20, 2007 at 19:56 UTC ( [id://651983]=note: print w/replies, xml ) | Need Help?? |
The data are in parallel arrays because that is how the designer of the homework specified the problem. ;) Perl offers several ways of managing data in that fashion and I expect there may be discussion of the pros and cons of each following the submission of answers. I'd hope too that your point is made - that is not a Perlish way to manage data in most cases. Perl is environmentally friendly - it saves trees
In Section
Seekers of Perl Wisdom
|
|