http://www.perlmonks.org?node_id=460589


in reply to Array Splicing: Need Help!


C:\>perl my @colors = ("red", "blue", "orange", "purple", "pink", "white"); splice(@colors, 0, 3); print "@colors"; ^D purple pink white C:\>

Cheers,
Rupesh.