[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#438488: ITP: libmoosex-getopt-perl -- Moose role for processing command line options

Package: wnpp
Severity: wishlist
Owner: Alexis Sukrieh <sukria@sukria.net>

* Package name    : libmoosex-getopt-perl
  Version         : 0.05
  Upstream Author : Stevan Little <stevan@iinteractive.com>,
                    Brandon L.  Black, <blblack@gmail.com>
* URL             : http://search.cpan.org/~stevan/MooseX-Getopt-0.05/lib/MooseX/Getopt.pm
* License         : Artistic Licence
  Programming Lang: Perl
  Description     : Moose role for processing command line options

This module is a role which provides an alternate constructor for creating
objects using parameters passed in from the command line.

This module attempts to DWIM as much as possible with the command line params
by introspecting your class's attributes. It will use the name of your
attribute as the command line option, and if there is a type constraint
defined, it will configure Getopt::Long to handle the option accordingly.

You can use the attribute metaclass MooseX::Getopt::Meta::Attribute to get
non-default commandline option names and aliases.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-vserver-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Reply to: