Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: SHIFTChapter 8
Standard Modules
Next: Reference: STORE


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:


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


Optional. Defaults to the rest of the array.


May be empty.

Previous: Reference: SHIFTPerl in a NutshellNext: Reference: STORE
Reference: SHIFTBook IndexReference: STORE