Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: dynamic hash nesting

by moritz (Cardinal)
on Aug 16, 2012 at 20:45 UTC ( #987877=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.010;
    use strict;
    ...
            with    Assault with a deadly weapon
            without    Assault without a deadly weapon
        Aggravated    Aggravated Assault
    
  2. or download this
    VAR1 = {
        'Assault' => {
    ...
        }
    };
    
  3. or download this
    sub lookup {
        my $h = \%h;
    ...
    
    say lookup 'Assault';
    say lookup qw/Assault Deadly with/;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (15)
As of 2014-07-25 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (174 votes), past polls