Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How to return a list using recursion?

by BillKSmith (Deacon)
on Aug 07, 2012 at 16:34 UTC ( #986027=note: print w/ replies, xml ) Need Help??


in reply to How to return a list using recursion?

"# what goes here ?"

return ( join( ' ', splice(@arr, 0, 5)) . ",\n" , _array_chunk5(@arr), );

Update: Sorry, I did not notice that this is the same as IG's solution.


Comment on Re: How to return a list using recursion?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-08-01 06:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found
    past polls