Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Rosetta code: Split an array into chunks

by johngg (Canon)
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
Domain Nodelet?
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 rifling through the Monastery: (5)
As of 2021-08-02 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (21 votes). Check out past polls.

    Notices?