From: Dave Rolsky Date: Tue, 17 Jan 2012 21:49:43 +0000 (-0600) Subject: Doh, reversed the conditional and broke old Moose X-Git-Tag: v0.19~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1a9d90ea66c704b902eda8d4c26d1262cc716abd;p=gitmo%2FMooseX-StrictConstructor.git Doh, reversed the conditional and broke old Moose --- diff --git a/lib/MooseX/StrictConstructor.pm b/lib/MooseX/StrictConstructor.pm index 926e780..f14e4c4 100644 --- a/lib/MooseX/StrictConstructor.pm +++ b/lib/MooseX/StrictConstructor.pm @@ -16,7 +16,7 @@ my %metaroles = ( $metaroles{constructor} = ['MooseX::StrictConstructor::Trait::Method::Constructor'] - if $Moose::VERSION >= 1.9900; + if $Moose::VERSION <= 1.9900; Moose::Exporter->setup_import_methods( class_metaroles => \%metaroles );