Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: splicing two arrays together

by i5513 (Pilgrim)
on Jan 06, 2012 at 00:36 UTC ( #946508=note: print w/ replies, xml ) Need Help??


in reply to splicing two arrays together

"I am not clear on why there are two 'the the'?"

That is because you are doing:

splice(@newArray3,3,0, @second[1,1]);

So you are inserting 2 elements "the" in @newArray3 at third position

See  print "@second[1,1]" output .. and slices to understand it
Regards,


Comment on Re: splicing two arrays together
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://946508]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2015-07-28 06:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls