benefits of the array structure... you just make a new scalar and add a pointer to the end of the array with push. With unshift, you make a scalar, copy every pointer in the array over one, and stick the new pointer at the beginning.
PerlGuts Illustrated may help you see that. See Arrays.
--
$you = new YOU;
honk() if $you->love(perl)
In reply to RE: RE (tilly) 3 (less?): A Not so Simple Append
by extremely
in thread A Not so Simple Append
by Limo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |