Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 scrutinizing the Monastery: (4)
As of 2014-10-25 11:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (142 votes), past polls