perldoc -f splice

Cheers - Tobias

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Barry 
Brevik
Sent: Wednesday, September 07, 2011 11:38 AM
To: [email protected]
Subject: Help with array

I've issued perldoc-q array and Googled for an answer and found nothing.

Let's say I have an array with a number of elements in it, and I want to insert 
an element somewhere in the body of the array, and move all remaining elements 
up (or to the right, or higher) by one.

Sure, I could use a loop, but is there a cleaner, more Perl-ish way of doing it?

Barry Brevik 

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to