Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: how to seperate array after a certain number of elements?

by ikegami (Patriarch)
on Sep 20, 2007 at 19:53 UTC ( [id://640224]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -le"printf '%.17f', .2
    0.20000000000000001
    
  2. or download this
    use List::MoreUtils qw(part);
    my @array = (1..100);
    my $i; my @parts = part { ($i++)/5 } @array;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-25 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found