1 # File automatically generated from BurntSushi/toml-test
7 binmode STDIN, ':encoding(UTF-8)';
8 binmode STDOUT, ':encoding(UTF-8)';
11 '~!@$^&*()_+-`1234567890[]|/?><.,;:\'' => bless( {
12 '_file' => '(eval 413)',
17 BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x54"}
22 'Math::BigInt'->new('1')->beq($_);
24 'operator' => 'CODE(...)',
25 'name' => '<Custom Code>'
26 }, 'Test2::Compare::Custom' )
30 my $actual = from_toml(q{"~!@$^&*()_+-`1234567890[]|/?><.,;:'" = 1
33 is($actual, $expected1, 'key-special-chars - from_toml') or do{
35 diag Dumper($expected1);
41 is(eval{ from_toml(to_toml($actual)) }, $actual, 'key-special-chars - to_toml') or do{
46 diag to_toml($actual);
48 diag 'REPARSED OUTPUT:';
49 diag Dumper(from_toml(to_toml($actual)));