Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Rosetta code: Split an array into chunks

by johngg (Abbot)
on Sep 25, 2010 at 18:11 UTC ( #861982=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    knoppix@Microknoppix:~$ perl -E '
    > @l = qw{ a bb c d e f g h };
    ...
    d e f
    g h
    knoppix@Microknoppix:~$
    
  2. or download this
    knoppix@Microknoppix:~$ perl -MList::Util=min -E '
    > @l = qw{ a bb c d e f g h };
    ...
    d e f
    g h
    knoppix@Microknoppix:~$
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-09-17 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (72 votes), past polls