Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

(jeffa) Re: using two arrays to make a table

by jeffa (Bishop)
on Jun 18, 2002 at 17:00 UTC ( [id://175426]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @headings = map { "Head$_" } (1..5);
    my @names    = qw(
    ...
       uno dos tres
       een twee drie
    );
    
  2. or download this
    Head1onetwothreeHead2undeuxtroisHead3einszweidrei ...
    
  3. or download this
    use strict; # please
    
    ...
    # vertical
    printf("%10s %10s %10s\n",@headings);
    printf("%10s %10s %10s\n",@$_) for @names;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-03-29 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found