jarwulf has asked for the wisdom of the Perl Monks concerning the following question:
Also for the below code I get that the loop is supposed to last as long as you are iterating through FILE but I'm not sure what the bits with LINE mean. Does it just to move through lines in FILE?my @array = <ARRAY>; if ($array[0]){
LINE: while (<FILE>) { shift @array; unless ($array[0]){ last LINE; } next LINE; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: array code interpretation
by choroba (Cardinal) on Apr 09, 2013 at 23:53 UTC | |
|
Re: array code interpretation
by Rahul6990 (Beadle) on Apr 10, 2013 at 06:17 UTC | |
by AnomalousMonk (Archbishop) on Apr 10, 2013 at 06:44 UTC |