Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: passing hashes and hash reference

by twerq (Deacon)
on Apr 20, 2001 at 21:03 UTC ( [id://74233]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub myroutine {
            $hash_ref = (shift);
    ...
    }
    
    myroutine(\%thishash);
    
  2. or download this
    die "Not a HASH reference" unless (ref($hash_ref) eq "HASH");
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-07-16 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.