Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: printing arrays

by kyle (Abbot)
on Dec 31, 2008 at 17:06 UTC ( [id://733511]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    printf "%s %s\n", shift( @ID ), shift( @name ) while @ID && @name;
    
  2. or download this
    my @nyuck = ( @ID, reverse @name );
    printf "%s %s\n", shift( @nyuck ), pop( @nyuck ) while @nyuck;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://733511]
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: (4)
As of 2024-04-19 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found