App::Cmd is my favourite solution for this, though I've also used MooX::Cmd which is rather nice too, albeit poorly documented.
(Here are a couple of examples using MooX::Cmd because you won't find many in the documentation... Re: Can anybody tell me how MooX::Cmd is supposed to work? // my fork of WWW-Questhub on github.)
In reply to Re: Parsing commandline with subcommands
by tobyink
in thread Parsing commandline with subcommands
by hoppfrosch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |