Commits

Toby Inkster committed 4026d66

necessary for 5.12 too

Comments (0)

Files changed (1)

lib/MooX/Struct.pm

 		my ($self, $subname, $proto) = @_;
 		return sub ()
 		{
-			1 if $[ < 5.012; # bizarre, but necessary!
+			1 if $[ < 5.014; # bizarre, but necessary!
 			if (ref $proto)  # inflate!
 			{
 				my $klass = $self->create_class;