Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Processing pairs of values from even-sized array

by johngg (Canon)
on Jun 05, 2011 at 23:19 UTC ( [id://908221]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    knoppix@Microknoppix:~$ perl -MList::MoreUtils=part -E '
    > @parts = part {
    ...
    2 4 6 8 12 14 16 18
    5 10 15 20
    knoppix@Microknoppix:~$
    
  2. or download this
    knoppix@Microknoppix:~$ perl -E '
    > push @{
    ...
    2 4 6 8 12 14 16 18
    5 10 15 20
    knoppix@Microknoppix:~$
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-07-15 20:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.