[SCM] libmessage-passing-perl Debian packaging branch, master, updated. debian/0.111-3-14-g44f6e88
Pedro Melo
melo at simplicidade.org
Mon May 6 11:57:46 UTC 2013
The following commit has been merged in the master branch:
commit c3d893818ab0d0ccffd2eb77ef33425390353f02
Author: Pedro Melo <melo at simplicidade.org>
Date: Thu Sep 6 17:55:36 2012 +0200
Fix to work with latest MooX::Options
diff --git a/lib/Message/Passing.pm b/lib/Message/Passing.pm
index fd74c0a..7bad679 100644
--- a/lib/Message/Passing.pm
+++ b/lib/Message/Passing.pm
@@ -11,9 +11,10 @@ use 5.8.4;
our $VERSION = '0.103';
$VERSION = eval $VERSION;
-sub new_with_options {
+around 'parse_options' => sub {
+ my $orig = shift;
my $class = shift;
- my %args = $class->parse_options(@_);
+ my %args = $orig->($class, @_);
if (my $conf = $args{configfile}) {
my $cfg = $class->get_config_from_file($conf);
@@ -23,8 +24,10 @@ sub new_with_options {
}
}
}
- $class->new(%args);
-}
+
+ return %args;
+};
+
with
CLIComponent( name => 'input' ),
--
libmessage-passing-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list