Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: split every other value

by Aristotle (Chancellor)
on Aug 07, 2004 at 01:34 UTC ( [id://380806]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ( @arr0, @arr1 );
    
    ...
        push @arr1, shift @array;
    }
    push @arr0, shift @array if @array;
    
  2. or download this
    my ( @arr0, @arr1 );
    
    ...
        push @arr0, shift @array;
        push @arr1, shift @array if @array;
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found