Revision history for Perl extension MooseX-Getopt
+0.06
+ * MooseX::Getopt
+ - refactored &new_with_option some so that
+ this will work better with other Getopt
+ modules (nuffin)
+
0.05 Tues. July 3, 2007
* MooseX::Getopt::OptionTypeMap
- added some checks to make sure that the type
-MooseX::Getopt version 0.05
+MooseX::Getopt version 0.06
===========================
See the individual module documentation for more information
use MooseX::Getopt::OptionTypeMap;
use MooseX::Getopt::Meta::Attribute;
-our $VERSION = '0.05';
+our $VERSION = '0.06';
our $AUTHORITY = 'cpan:STEVAN';
has ARGV => (is => 'rw', isa => 'ArrayRef');
sub new_with_options {
my ($class, %params) = @_;
- my %processed = $class->_parse_argv( options => [ $class->_attrs_to_options( %params ) ] );
+ my %processed = $class->_parse_argv(
+ options => [
+ $class->_attrs_to_options( %params )
+ ]
+ );
$class->new(
ARGV => $processed{argv_copy},