note
FunkyMonk
If you don't want the code to [doc://die], you need to use something to catch the exception. I like [mod://Try::Tiny]:
<code>
use Try::Tiny;
my @bad = try { fill_in_the_blanks(qw<_ _ _>) } # fails
catch { print "bad data!\n" };
my @good = try { fill_in_the_blanks(qw<_ 1 _>) } # succeeds
catch { print "bad data!\n" };
</code>
911838
912109