The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

#!perl
use warnings FATAL => 'all';
use strict;
use Function::Parameters qw(:strict);
ok !eval 'fun foo(X[[';
like $@, qr/missing type name/;
done_testing;