Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Hash of hashes problem

by naikonta (Curate)
on Oct 11, 2007 at 23:40 UTC ( [id://644346]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ...
    $$arrayref[0] = "January";
    $$hashref{"KEY"} = "VALUE"; # deref the hash, assign a key
    &$coderef(1,2,3);
    ...
    
  2. or download this
    ...
    ${$arrayref}[0] = "January";
    ${$hashref}{"KEY"} = "VALUE"; # same as above, differet syntax
    &{$coderef}(1,2,3);
    ...
    
  3. or download this
    $arrayref->[0] = "January";
    $hashref->{"KEY"} = "VALUE"; # still the same, witha arrow operator
    $coderef->(1,2,3);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-19 04:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found