Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: More elegant way of doing "ordered hash"?

by PopeFelix (Sexton)
on Oct 10, 2013 at 19:36 UTC ( #1057771=note: print w/ replies, xml ) Need Help??


in reply to Re: More elegant way of doing "ordered hash"?
in thread More elegant way of doing "ordered hash"?

Value for Parameters is an arrayref.

As for sending named parameters, I can't do that because what I'm doing is wrapping XML-RPC calls to Magento, and I haven't found a way to get XML::RPC to send named params.

And yes, this was partially inspired by Moose. :)


Comment on Re^2: More elegant way of doing "ordered hash"?
Download Code
Replies are listed 'Best First'.
Re^3: More elegant way of doing "ordered hash"?
by PopeFelix (Sexton) on Oct 10, 2013 at 19:38 UTC
    whoops! There was a typo there. Parameters should definitely be an arrayref in define_api_method

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (16)
As of 2015-07-07 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls