The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use Test::Effects;

plan tests => 1;

$SIG{__WARN__} = sub { die @_; };

effects_ok {
    return 'a string';
}
{
    return => 'a string',
}
=> 'String checking works silently';