Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Need some help with Hashes and formatting

by GreenLantern (Novice)
on Jun 25, 2014 at 00:05 UTC ( [id://1091115]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    printf "%10s\t=>%10s\n", "keys", "values";
    printf "%10s\t=>%10s\n" x @ky, @ky, @vals;
    
  2. or download this
           keys           =>           values
        barney          =>             betty
    ...
        rubble           =>          rubble
                             =>      flintstone
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1091115]
Approved by toolic
Front-paged by toolic
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found