Exploring the splice() function
Saturday April 1, 2006
Take a look at this quick tutorial on the Perl function splice - a handy way to carve chunks out of your arrays, or replace them with other arrays. The standard Perl library contains a nice selection of useful functions for lists, including push, pop, shift, and unshift. The splice function works a bit like them, but removes a portion of the array in the process. Find out more about Perl's splice() function in this quick tutorial.
