Source

p5-moox-struct / t / 10strict-constructor.t

Toby Inkster 614333c 


1
2
3
4
use Test::More tests => 1;
use MooX::Struct Thingy => [qw/ $x /];

ok not eval { my $thingy = Thingy->new(y => 1) };