Agreed, but return the value of $first+1 to indicate that it was successful, and it may be of use to some caller (undef otherwise).
--
[ e d @ h a l l e y . c c ]
In reply to Re^2: Inserting an element into an array after a certain element
by halley
in thread Inserting an element into an array after a certain element
by saintmike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |