Source

p5-moox-struct / lib / MooX / Struct.pm

Diff from to

lib/MooX/Struct.pm

 	}
 
 	my $subname = undef;
-	$subname = ${ shift @args } if ref($args[0]) eq 'SCALAR';	
+	$subname = ${ shift @args } if ref($args[0]) eq 'SCALAR';
 
 	my $new_class = $processor->make_sub(
 		$subname,