[EMAIL PROTECTED] wrote:
> Dear Bowie,
> 
> Sorry, splice won't do what I need--it deletes from the array, then
> replaces the deletion. I need insertion. 
> 
> Thanks just the same.

No, it can do that too.

To insert an element at index 1, do this:

        splice(@array, 1, 0, 'a');

-- 
Bowie
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to