Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: popping, shifting or splicing an array???by drock (Beadle) |
on Aug 09, 2005 at 17:40 UTC ( [id://482326]=note: print w/replies, xml ) | Need Help?? |
I am looking to spice off more than one element possibly up to 10 and no larger than 20 of those selected numbers from user input.
1..1000
user selects 1..5
splice array 1..5
return array with 6-1000
print new array 6-1000
In Section
Seekers of Perl Wisdom
|
|