use strictures 1;
use Test::More;
+use Test::Fatal;
my @result;
$foo->set_one('rofl');
is( $foo->get_one, 'rofl', 'writer works' );
-ok( !eval { $foo->get_one('blah'); 1 }, 'reader dies on write' );
+ok( exception { $foo->get_one('blah') }, 'reader dies on write' );
is( $bar->TWO, '...', 'accessor works for reading' );
$bar->TWO('!!!');
my $foo = Foo->new(one => 1);
is($foo->one, 1, 'ro reads');
-ok(!eval { $foo->one(-3); 1 }, 'ro dies on write attempt');
+ok(exception { $foo->one(-3) }, 'ro dies on write attempt');
is($foo->one, 1, 'ro does not write');
is($foo->two, undef, 'rw reads');