Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

More elegant way of doing "ordered hash"?

by PopeFelix (Beadle)
on Oct 09, 2013 at 22:01 UTC ( [id://1057626]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $spec = {
        'Parameters' => [
    ...
        ],  
        'Response' => 'scalar',
    };
    
  2. or download this
    my @params = $thing->{'Parameters'};
    
    ...
      my $spec = $params[$index + 1];
      # do something from here...
    }
    
  3. or download this
    define_method 'foo' => {
      'Parameters' => [
    ...
        },
      ]
    };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-23 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found