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

Re: deferencing an hash in a subroutine

by zentara (Archbishop)
on Aug 20, 2010 at 15:06 UTC ( [id://856296]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %q=@_;
    
  2. or download this
    #!/usr/bin/perl
    #A quick easy way to do it given @keys (array of keys) and @values
    ...
    printf "%4d:  %-s\n", $MyKey, $MyHash{$MyKey};
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found