1 # File automatically generated from BurntSushi/toml-test
6 use DateTime::Format::RFC3339;
11 binmode STDIN, ':encoding(UTF-8)';
12 binmode STDOUT, ':encoding(UTF-8)';
17 'first_name' => 'Bruce',
18 'last_name' => 'Springsteen'
21 'first_name' => 'Eric',
22 'last_name' => 'Clapton'
25 'first_name' => 'Bob',
26 'last_name' => 'Seger'
32 my $actual = from_toml(q{[[people]]
34 last_name = "Springsteen"
45 is($actual, $expected1, 'table-array-many - from_toml') or do{
47 diag Dumper($expected1);
53 is(eval{ from_toml(to_toml($actual)) }, $actual, 'table-array-many - to_toml') or do{
58 diag to_toml($actual);
60 diag 'REPARSED OUTPUT:';
61 diag Dumper(from_toml(to_toml($actual)));