Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Adding an new element after every 5th element in array

by davido (Cardinal)
on Nov 26, 2013 at 20:27 UTC ( [id://1064467]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Adding an new element after every 5th element in array
in thread Adding an new element after every 5th element in array

in my final example it is as easy as changing the number 3 to some other interval. Take the time to understand the solutions we provide and you will understand how to modify them to your needs.


Dave

  • Comment on Re^3: Adding an new element after every 5th element in array

Replies are listed 'Best First'.
Re^4: Adding an new element after every 5th element in array
by dvinay (Acolyte) on Nov 27, 2013 at 03:52 UTC

    Yeah Dave i got the solution, and have made changes for the count interval,when i posted the reply i didnt observe the last solution which you had made, then after that i saw it

    Thanks for the solution

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found