Problems? Is your data what you think it is? | |
PerlMonks |
Re: understanding curly braces surrounding an arrayby GrandFather (Saint) |
on Mar 09, 2012 at 00:51 UTC ( [id://958569]=note: print w/replies, xml ) | Need Help?? |
Actually "the" solution is changing the for loop to:
which even your C friends will understand, although they wouldn't write it that way. Or if you don't mind that your C friends may be fazed by a little Perl you could:
True laziness is hard work
In Section
Seekers of Perl Wisdom
|
|