Documentation is not required to be easy to understand, just accurate and up to date. Learning books however ...#use strict; #use warnings; @ARRAY = qw(foo bar baz); @LIST = qw(some new items); for $value (@LIST) { $ARRAY[++$#ARRAY] = $value; } print $_,$/ for @ARRAY; __END__ foo bar baz some new items
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to (jeffa) Re: array pushing
by jeffa
in thread array pushing
by sulfericacid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |