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. :)

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