start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: sort Chapter 5
Function Reference
Next: Reference: split
 

splice

splice 
@array
, 
pos
, [
n
], [
list
]

Removes n number of elements from @array starting at position pos , replacing them with the elements of list , if provided. The function returns the elements removed from the array. The array grows or shrinks as necessary. If n is omitted, the function removes everything from pos onward.


Previous: Reference: sort Perl in a Nutshell Next: Reference: split
Reference: sort Book Index Reference: split

Library Navigation Links

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