Commits

Toby Inkster committed 894802d

oops

Comments (0)

Files changed (1)

lib/MooX/Struct.pm

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