MooseX::Getopt getopt-more-flexible branch

[email protected] ("Piotr Roszatycki")
Newsgroups perl.moose
Message-ID <[email protected]>
Hi everybody,

I made some modifications for MooseX::Getopt in separate branch. It is
fully compatible with your public API for MooseX::Getopt. Some code
which used private API had to be modified, i.e. MooseX::App::Cmd, so I
placed this module in separate branch, too. Could you take a look?

This MooseX::Getopt has additional features:

* Getopt's options can be placed in more that one class.
* Getopt's parser can be switched, i.e. Getopt::Descriptive or Getopt::Long.
* Additional configuration for parser can be provided (i.e. "pass_through").

If you like it, I could merge it with trunk. If not, maybe I could
start new module, i.e. MooseX::Getopt::Flexible or
MooseX::Getopt::Session, or whatever.

I asked Steven what he think about it but he is busy last time and
suggested I should ask on [email protected] first.

BTW, I made my CLI dispatcher which depends on new MooseX::Getopt.

http://dexter-cpan.googlecode.com/svn/MooseX-CLI-Command/trunk/

MooseX::CLI::Command is similar to App::CLI and i.e. dumps out help
and usage messages based on POD rather than Getopt::Long::Descriptive
and doesn't require external modules. I would like to include it to
Moose's SVN but it required enchanced MooseX::Getopt first.

Thank you.

-- 
 .''`.    Piotr Roszatycki
: :' :    mailto:[email protected]
`. `'     mailto:[email protected]
  `-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.