![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: arrays: shifting in while loopby AnomalousMonk (Archbishop) |
on Mar 06, 2012 at 21:36 UTC ( #958166=note: print w/replies, xml ) | Need Help?? |
My understanding is that the while will execute so long as there are elements in @a... ivanthemad: I expect you already understand the following point perfectly well, but I want to dispell my sneaking suspicion of a possible misapprehension on your part.
The while-loop in the example code will only begin execution (Update: of Update: Clarified (hopefully) pertinence to loop body per repellent.
In Section
Seekers of Perl Wisdom
|
|