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

Re: using ref to hash of hash effectively

by eyepopslikeamosquito (Bishop)
on Dec 27, 2020 at 04:00 UTC ( #11125779=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        printf "  %-8.8s:%3d\n", $attr, $weapons_ref->{$weapon}{$attr};
      }
    }
    
  2. or download this
    $VAR1 = {
              'dagger' => {
    ...
      armor   :  2
      cost    : 25
      damage  :  6
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2021-09-19 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?