Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Using Splice with Two Arrays within a loopby Anonymous Monk |
on Jun 10, 2013 at 17:34 UTC ( [id://1038126]=note: print w/replies, xml ) | Need Help?? |
Hi,
Sorry to clarify I have an assignment that requires the following to be done: "This program can be made both shorter and faster by using a built-in function named splice that will remove a specified number of elements from the @_ array at once, rather than the one-at-a-time that shift does." As you can see from my output I am doing something wrong. Can someone help me out. I need to use splice to resolve this. Thanks
In Section
Seekers of Perl Wisdom
|
|