Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
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 perusing the Monastery: (5)
As of 2021-06-17 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (84 votes). Check out past polls.

    Notices?