Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How to document complex data structures?

by sfink (Deacon)
on Oct 21, 2007 at 18:57 UTC ( #646294=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # { student name => grade }
    my %grades = ( "Bob" => 3.2, "Alice" => 3.9 );
    ...
    #    }
    #
    # or you could give a symbolic name to the { id => value } things.
    
  2. or download this
      my %map = ( a => 1, b => 3, c => 2 );
    
    ...
      my %map2 = ( a => { name => "Bob", children_ids => { Alice => 132, M
    +abel => 81 } });
      # Set $etty to "Mabel"
      match('{ ? => { children_ids => { $etty => 81 } } }', \%map2);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-12-25 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls