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

# File automatically generated from BurntSushi/toml-test
use utf8;
binmode STDIN, ':encoding(UTF-8)';
binmode STDOUT, ':encoding(UTF-8)';
open my $fh, '<', "./t/toml-test/invalid/control/rawmulti-null.toml" or die $!;
binmode $fh, ':raw';
my $toml = do{ local $/; <$fh>; };
close $fh;
ok dies(sub{ scalar from_toml($toml, strict => 1) }), 'strict_mode dies on control/rawmulti-null';
done_testing;