Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re(2): Learning to *really* love references

by FoxtrotUniform (Prior)
on Jul 30, 2002 at 15:44 UTC ( [id://186240]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $arrayElement = $$arrayRef[0];
    my $hashValue = $$hashRef{someKey};
    
  2. or download this
    my $array_element = $array_ref->[0];
    my $hash_value    = $hash_ref->{some_key};
    
  3. or download this
    my $foo = $AoH_ref->[0]->{some_key};
    
  4. or download this
    my $hash_ref = $AoH_ref->[0];
    my $foo      = $hash_ref->{some_key};
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://186240]
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-20 05:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found