Er... this seems to contradict what perldoc -f push has to say on the subject...
--push ARRAY,LIST Treats ARRAY as a stack, and pushes the values of LIST onto the end of ARRAY. The length of ARRAY increases by the length of LIST. Has the same effect as for $value (LIST) { $ARRAY[++$#ARRAY] = $value; } but is more efficient. Returns the new number of elements in the array.
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: Re: why doesn't my array get extended?
by davorg
in thread why doesn't my array get extended?
by bhu73
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |