Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Processing pairs of values from even-sized arrayby Bloodnok (Vicar) |
on Jun 03, 2011 at 12:32 UTC ( [id://907964]=note: print w/replies, xml ) | Need Help?? |
Hi Ronald ,
Have you tried using each itself. as in something like ... Or possibly simpler still, but I haven't yet worked out how to perform an in-line cast of a list to an array - while (my ($k, $v) = each %{@array}) {... generates errors coz the list is being evaluated in scalar, not list, context ... JIC you were wondering:-)
A user level that continues to overstate my experience :-))
In Section
Seekers of Perl Wisdom
|
|