in reply to Re: Using Splice with Two Arrays within a loop
in thread Using Splice with Two Arrays within a loop
Applogies:
I have a assignment as follows:
"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."
Using the existing code I need to change it to use splice and have the same exact output. As you can see it is not working. I need some help in this. Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Using Splice with Two Arrays within a loop
by hdb (Monsignor) on Jun 10, 2013 at 17:42 UTC | |
by Anonymous Monk on Jun 10, 2013 at 20:16 UTC | |
by Anonymous Monk on Jun 10, 2013 at 20:42 UTC | |
by hdb (Monsignor) on Jun 10, 2013 at 20:47 UTC | |
by gponcho (Initiate) on Jun 10, 2013 at 21:04 UTC | |
by AnomalousMonk (Archbishop) on Jun 10, 2013 at 22:25 UTC | |
by hdb (Monsignor) on Jun 11, 2013 at 07:22 UTC | |
| |
by hdb (Monsignor) on Jun 10, 2013 at 21:09 UTC |
In Section
Seekers of Perl Wisdom