Posted on 2012-01-25 13:14:15.990528-08 by kerisman in response to 13616
Re: sub command dispatching confusion
You can use subcommand_alias() to give a subcommand whatever name you choose. In fact, the "queue" example does this for My::Queue::Command::Property. It defines subcommand_alias to enable 'l' and 's' as alternatives for the default names (so "queue property s" is the same as "queue property set" and "queue property l" is the same as "queue property list").
Direct Responses: 13618 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.