home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


SPLICE


SPLICE 



this

, 

offset

, 

length

, 

list


Performs the equivalent of a splice on the array. Returns a list of the original length elements at the specified offset. The arguments are:

offset

Optional. Defaults to zero; if negative, counts back from the end of the array.

length

Optional. Defaults to the rest of the array.

list

May be empty.


Previous: Reference: SHIFT Perl in a Nutshell Next: Reference: STORE
Reference: SHIFT Book Index Reference: STORE

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.