Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by dwm042 (Priest)
on Sep 19, 2007 at 15:54 UTC ( [id://639915]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
            push @{$collection_ref}, [@temp] if (@temp);
        }
    }
    
  2. or download this
    C:\Code>perl close_and_break.pl
    1 2 3 4 5
    6 7 8 9 10
    11 12
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found