Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to return a list using recursion?

by BillKSmith (Chaplain)
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 perusing the Monastery: (7)
As of 2014-08-30 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (292 votes), past polls