Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 having an uproarious good time at the Monastery: (7)
As of 2014-11-29 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (203 votes), past polls