TOML-Tiny

 view release on metacpan or  search on metacpan

t/toml-test/valid/array/array.t  view on Meta::CPAN

my $expected1 = {
               "comments" => [
                               bless( {
                                        "_file" => "(eval 116)",
                                        "_lines" => [
                                                      7
                                                    ],
                                        "code" => sub {
                                                      BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                      use strict;
                                                      no feature ':all';
                                                      use feature ':5.16';
                                                      require Math::BigInt;
                                                      my $got = 'Math::BigInt'->new($_);
                                                      'Math::BigInt'->new('1')->beq($got);
                                                  },
                                        "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                        "operator" => "CODE(...)"
                                      }, 'Test2::Compare::Custom' ),
                               bless( {
                                        "_file" => "(eval 117)",
                                        "_lines" => [
                                                      7
                                                    ],
                                        "code" => sub {
                                                      BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                      use strict;
                                                      no feature ':all';
                                                      use feature ':5.16';
                                                      require Math::BigInt;
                                                      my $got = 'Math::BigInt'->new($_);
                                                      'Math::BigInt'->new('2')->beq($got);
                                                  },
                                        "name" => "Math::BigInt->new(\"2\")->beq(\$_)",
                                        "operator" => "CODE(...)"
                                      }, 'Test2::Compare::Custom' )
                             ],
               "dates" => [

t/toml-test/valid/array/array.t  view on Meta::CPAN

                          ],
               "floats" => [
                             bless( {
                                      "_file" => "(eval 118)",
                                      "_lines" => [
                                                    7
                                                  ],
                                      "code" => sub {
                                                    BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                    use strict;
                                                    no feature ':all';
                                                    use feature ':5.16';
                                                    require Math::BigFloat;
                                                    my $got = 'Math::BigFloat'->new($_);
                                                    'Math::BigFloat'->new('1.1')->beq($got);
                                                },
                                      "name" => "Math::BigFloat->new(\"1.1\")->beq(\$_)",
                                      "operator" => "CODE(...)"
                                    }, 'Test2::Compare::Custom' ),
                             bless( {
                                      "_file" => "(eval 119)",
                                      "_lines" => [
                                                    7
                                                  ],
                                      "code" => sub {
                                                    BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                    use strict;
                                                    no feature ':all';
                                                    use feature ':5.16';
                                                    require Math::BigFloat;
                                                    my $got = 'Math::BigFloat'->new($_);
                                                    'Math::BigFloat'->new('2.1')->beq($got);
                                                },
                                      "name" => "Math::BigFloat->new(\"2.1\")->beq(\$_)",
                                      "operator" => "CODE(...)"
                                    }, 'Test2::Compare::Custom' ),
                             bless( {
                                      "_file" => "(eval 120)",
                                      "_lines" => [
                                                    7
                                                  ],
                                      "code" => sub {
                                                    BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                    use strict;
                                                    no feature ':all';
                                                    use feature ':5.16';
                                                    require Math::BigFloat;
                                                    my $got = 'Math::BigFloat'->new($_);
                                                    'Math::BigFloat'->new('3.1')->beq($got);
                                                },
                                      "name" => "Math::BigFloat->new(\"3.1\")->beq(\$_)",
                                      "operator" => "CODE(...)"
                                    }, 'Test2::Compare::Custom' )
                           ],
               "ints" => [
                           bless( {
                                    "_file" => "(eval 48)",
                                    "_lines" => [
                                                  7
                                                ],
                                    "code" => sub {
                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                  use strict;
                                                  no feature ':all';
                                                  use feature ':5.16';
                                                  require Math::BigInt;
                                                  my $got = 'Math::BigInt'->new($_);
                                                  'Math::BigInt'->new('1')->beq($got);
                                              },
                                    "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                    "operator" => "CODE(...)"
                                  }, 'Test2::Compare::Custom' ),
                           bless( {
                                    "_file" => "(eval 114)",
                                    "_lines" => [
                                                  7
                                                ],
                                    "code" => sub {
                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                  use strict;
                                                  no feature ':all';
                                                  use feature ':5.16';
                                                  require Math::BigInt;
                                                  my $got = 'Math::BigInt'->new($_);
                                                  'Math::BigInt'->new('2')->beq($got);
                                              },
                                    "name" => "Math::BigInt->new(\"2\")->beq(\$_)",
                                    "operator" => "CODE(...)"
                                  }, 'Test2::Compare::Custom' ),
                           bless( {
                                    "_file" => "(eval 115)",
                                    "_lines" => [
                                                  7
                                                ],
                                    "code" => sub {
                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                  use strict;
                                                  no feature ':all';
                                                  use feature ':5.16';
                                                  require Math::BigInt;
                                                  my $got = 'Math::BigInt'->new($_);
                                                  'Math::BigInt'->new('3')->beq($got);
                                              },
                                    "name" => "Math::BigInt->new(\"3\")->beq(\$_)",
                                    "operator" => "CODE(...)"
                                  }, 'Test2::Compare::Custom' )
                         ],
               "strings" => [

t/toml-test/valid/array/hetergeneous.t  view on Meta::CPAN

               "mixed" => [
                            [
                              bless( {
                                       "_file" => "(eval 139)",
                                       "_lines" => [
                                                     7
                                                   ],
                                       "code" => sub {
                                                     BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                     use strict;
                                                     no feature ':all';
                                                     use feature ':5.16';
                                                     require Math::BigInt;
                                                     my $got = 'Math::BigInt'->new($_);
                                                     'Math::BigInt'->new('1')->beq($got);
                                                 },
                                       "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                       "operator" => "CODE(...)"
                                     }, 'Test2::Compare::Custom' ),
                              bless( {
                                       "_file" => "(eval 140)",
                                       "_lines" => [
                                                     7
                                                   ],
                                       "code" => sub {
                                                     BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                     use strict;
                                                     no feature ':all';
                                                     use feature ':5.16';
                                                     require Math::BigInt;
                                                     my $got = 'Math::BigInt'->new($_);
                                                     'Math::BigInt'->new('2')->beq($got);
                                                 },
                                       "name" => "Math::BigInt->new(\"2\")->beq(\$_)",
                                       "operator" => "CODE(...)"
                                     }, 'Test2::Compare::Custom' )
                            ],
                            [

t/toml-test/valid/array/hetergeneous.t  view on Meta::CPAN

                            ],
                            [
                              bless( {
                                       "_file" => "(eval 141)",
                                       "_lines" => [
                                                     7
                                                   ],
                                       "code" => sub {
                                                     BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                     use strict;
                                                     no feature ':all';
                                                     use feature ':5.16';
                                                     require Math::BigFloat;
                                                     my $got = 'Math::BigFloat'->new($_);
                                                     'Math::BigFloat'->new('1.1')->beq($got);
                                                 },
                                       "name" => "Math::BigFloat->new(\"1.1\")->beq(\$_)",
                                       "operator" => "CODE(...)"
                                     }, 'Test2::Compare::Custom' ),
                              bless( {
                                       "_file" => "(eval 142)",
                                       "_lines" => [
                                                     7
                                                   ],
                                       "code" => sub {
                                                     BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                     use strict;
                                                     no feature ':all';
                                                     use feature ':5.16';
                                                     require Math::BigFloat;
                                                     my $got = 'Math::BigFloat'->new($_);
                                                     'Math::BigFloat'->new('2.1')->beq($got);
                                                 },
                                       "name" => "Math::BigFloat->new(\"2.1\")->beq(\$_)",
                                       "operator" => "CODE(...)"
                                     }, 'Test2::Compare::Custom' )
                            ]
                          ]

t/toml-test/valid/array/mixed-int-array.t  view on Meta::CPAN

my $expected1 = {
               "arrays-and-ints" => [
                                      bless( {
                                               "_file" => "(eval 143)",
                                               "_lines" => [
                                                             7
                                                           ],
                                               "code" => sub {
                                                             BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                             use strict;
                                                             no feature ':all';
                                                             use feature ':5.16';
                                                             require Math::BigInt;
                                                             my $got = 'Math::BigInt'->new($_);
                                                             'Math::BigInt'->new('1')->beq($got);
                                                         },
                                               "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                               "operator" => "CODE(...)"
                                             }, 'Test2::Compare::Custom' ),
                                      [
                                        "Arrays are not integers."

t/toml-test/valid/array/mixed-int-float.t  view on Meta::CPAN

my $expected1 = {
               "ints-and-floats" => [
                                      bless( {
                                               "_file" => "(eval 144)",
                                               "_lines" => [
                                                             7
                                                           ],
                                               "code" => sub {
                                                             BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                             use strict;
                                                             no feature ':all';
                                                             use feature ':5.16';
                                                             require Math::BigInt;
                                                             my $got = 'Math::BigInt'->new($_);
                                                             'Math::BigInt'->new('1')->beq($got);
                                                         },
                                               "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                               "operator" => "CODE(...)"
                                             }, 'Test2::Compare::Custom' ),
                                      bless( {
                                               "_file" => "(eval 145)",
                                               "_lines" => [
                                                             7
                                                           ],
                                               "code" => sub {
                                                             BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                             use strict;
                                                             no feature ':all';
                                                             use feature ':5.16';
                                                             require Math::BigFloat;
                                                             my $got = 'Math::BigFloat'->new($_);
                                                             'Math::BigFloat'->new('1.1')->beq($got);
                                                         },
                                               "name" => "Math::BigFloat->new(\"1.1\")->beq(\$_)",
                                               "operator" => "CODE(...)"
                                             }, 'Test2::Compare::Custom' )
                                    ]
             };

t/toml-test/valid/array/mixed-int-string.t  view on Meta::CPAN

               "strings-and-ints" => [
                                       "hi",
                                       bless( {
                                                "_file" => "(eval 146)",
                                                "_lines" => [
                                                              7
                                                            ],
                                                "code" => sub {
                                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                              use strict;
                                                              no feature ':all';
                                                              use feature ':5.16';
                                                              require Math::BigInt;
                                                              my $got = 'Math::BigInt'->new($_);
                                                              'Math::BigInt'->new('42')->beq($got);
                                                          },
                                                "name" => "Math::BigInt->new(\"42\")->beq(\$_)",
                                                "operator" => "CODE(...)"
                                              }, 'Test2::Compare::Custom' )
                                     ]
             };

t/toml-test/valid/array/nested-double.t  view on Meta::CPAN

                             ],
                             [
                               bless( {
                                        "_file" => "(eval 147)",
                                        "_lines" => [
                                                      7
                                                    ],
                                        "code" => sub {
                                                      BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                      use strict;
                                                      no feature ':all';
                                                      use feature ':5.16';
                                                      require Math::BigInt;
                                                      my $got = 'Math::BigInt'->new($_);
                                                      'Math::BigInt'->new('1')->beq($got);
                                                  },
                                        "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                        "operator" => "CODE(...)"
                                      }, 'Test2::Compare::Custom' ),
                               bless( {
                                        "_file" => "(eval 148)",
                                        "_lines" => [
                                                      7
                                                    ],
                                        "code" => sub {
                                                      BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                      use strict;
                                                      no feature ':all';
                                                      use feature ':5.16';
                                                      require Math::BigInt;
                                                      my $got = 'Math::BigInt'->new($_);
                                                      'Math::BigInt'->new('2')->beq($got);
                                                  },
                                        "name" => "Math::BigInt->new(\"2\")->beq(\$_)",
                                        "operator" => "CODE(...)"
                                      }, 'Test2::Compare::Custom' ),
                               [
                                 bless( {
                                          "_file" => "(eval 149)",
                                          "_lines" => [
                                                        7
                                                      ],
                                          "code" => sub {
                                                        BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                        use strict;
                                                        no feature ':all';
                                                        use feature ':5.16';
                                                        require Math::BigInt;
                                                        my $got = 'Math::BigInt'->new($_);
                                                        'Math::BigInt'->new('3')->beq($got);
                                                    },
                                          "name" => "Math::BigInt->new(\"3\")->beq(\$_)",
                                          "operator" => "CODE(...)"
                                        }, 'Test2::Compare::Custom' )
                               ]
                             ]

t/toml-test/valid/array/nospaces.t  view on Meta::CPAN

my $expected1 = {
               "ints" => [
                           bless( {
                                    "_file" => "(eval 150)",
                                    "_lines" => [
                                                  7
                                                ],
                                    "code" => sub {
                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                  use strict;
                                                  no feature ':all';
                                                  use feature ':5.16';
                                                  require Math::BigInt;
                                                  my $got = 'Math::BigInt'->new($_);
                                                  'Math::BigInt'->new('1')->beq($got);
                                              },
                                    "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                    "operator" => "CODE(...)"
                                  }, 'Test2::Compare::Custom' ),
                           bless( {
                                    "_file" => "(eval 151)",
                                    "_lines" => [
                                                  7
                                                ],
                                    "code" => sub {
                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                  use strict;
                                                  no feature ':all';
                                                  use feature ':5.16';
                                                  require Math::BigInt;
                                                  my $got = 'Math::BigInt'->new($_);
                                                  'Math::BigInt'->new('2')->beq($got);
                                              },
                                    "name" => "Math::BigInt->new(\"2\")->beq(\$_)",
                                    "operator" => "CODE(...)"
                                  }, 'Test2::Compare::Custom' ),
                           bless( {
                                    "_file" => "(eval 152)",
                                    "_lines" => [
                                                  7
                                                ],
                                    "code" => sub {
                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                  use strict;
                                                  no feature ':all';
                                                  use feature ':5.16';
                                                  require Math::BigInt;
                                                  my $got = 'Math::BigInt'->new($_);
                                                  'Math::BigInt'->new('3')->beq($got);
                                              },
                                    "name" => "Math::BigInt->new(\"3\")->beq(\$_)",
                                    "operator" => "CODE(...)"
                                  }, 'Test2::Compare::Custom' )
                         ]
             };

t/toml-test/valid/comment/everywhere.t  view on Meta::CPAN

my $expected1 = {
               "group" => {
                            "answer" => bless( {
                                                 "_file" => "(eval 155)",
                                                 "_lines" => [
                                                               7
                                                             ],
                                                 "code" => sub {
                                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                               use strict;
                                                               no feature ':all';
                                                               use feature ':5.16';
                                                               require Math::BigInt;
                                                               my $got = 'Math::BigInt'->new($_);
                                                               'Math::BigInt'->new('42')->beq($got);
                                                           },
                                                 "name" => "Math::BigInt->new(\"42\")->beq(\$_)",
                                                 "operator" => "CODE(...)"
                                               }, 'Test2::Compare::Custom' ),
                            "d" => "1979-05-27T07:32:12-07:00",
                            "more" => [
                                        bless( {
                                                 "_file" => "(eval 153)",
                                                 "_lines" => [
                                                               7
                                                             ],
                                                 "code" => sub {
                                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                               use strict;
                                                               no feature ':all';
                                                               use feature ':5.16';
                                                               require Math::BigInt;
                                                               my $got = 'Math::BigInt'->new($_);
                                                               'Math::BigInt'->new('42')->beq($got);
                                                           },
                                                 "name" => "Math::BigInt->new(\"42\")->beq(\$_)",
                                                 "operator" => "CODE(...)"
                                               }, 'Test2::Compare::Custom' ),
                                        bless( {
                                                 "_file" => "(eval 154)",
                                                 "_lines" => [
                                                               7
                                                             ],
                                                 "code" => sub {
                                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                               use strict;
                                                               no feature ':all';
                                                               use feature ':5.16';
                                                               require Math::BigInt;
                                                               my $got = 'Math::BigInt'->new($_);
                                                               'Math::BigInt'->new('42')->beq($got);
                                                           },
                                                 "name" => "Math::BigInt->new(\"42\")->beq(\$_)",
                                                 "operator" => "CODE(...)"
                                               }, 'Test2::Compare::Custom' )
                                      ]
                          }

t/toml-test/valid/comment/tricky.t  view on Meta::CPAN

                                         ],
                               "arr4" => [
                                           bless( {
                                                    "_file" => "(eval 160)",
                                                    "_lines" => [
                                                                  7
                                                                ],
                                                    "code" => sub {
                                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                  use strict;
                                                                  no feature ':all';
                                                                  use feature ':5.16';
                                                                  require Math::BigInt;
                                                                  my $got = 'Math::BigInt'->new($_);
                                                                  'Math::BigInt'->new('1')->beq($got);
                                                              },
                                                    "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                    "operator" => "CODE(...)"
                                                  }, 'Test2::Compare::Custom' ),
                                           bless( {
                                                    "_file" => "(eval 161)",
                                                    "_lines" => [
                                                                  7
                                                                ],
                                                    "code" => sub {
                                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                  use strict;
                                                                  no feature ':all';
                                                                  use feature ':5.16';
                                                                  require Math::BigInt;
                                                                  my $got = 'Math::BigInt'->new($_);
                                                                  'Math::BigInt'->new('2')->beq($got);
                                                              },
                                                    "name" => "Math::BigInt->new(\"2\")->beq(\$_)",
                                                    "operator" => "CODE(...)"
                                                  }, 'Test2::Compare::Custom' ),
                                           bless( {
                                                    "_file" => "(eval 162)",
                                                    "_lines" => [
                                                                  7
                                                                ],
                                                    "code" => sub {
                                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                  use strict;
                                                                  no feature ':all';
                                                                  use feature ':5.16';
                                                                  require Math::BigInt;
                                                                  my $got = 'Math::BigInt'->new($_);
                                                                  'Math::BigInt'->new('3')->beq($got);
                                                              },
                                                    "name" => "Math::BigInt->new(\"3\")->beq(\$_)",
                                                    "operator" => "CODE(...)"
                                                  }, 'Test2::Compare::Custom' ),
                                           bless( {
                                                    "_file" => "(eval 163)",
                                                    "_lines" => [
                                                                  7
                                                                ],
                                                    "code" => sub {
                                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                  use strict;
                                                                  no feature ':all';
                                                                  use feature ':5.16';
                                                                  require Math::BigInt;
                                                                  my $got = 'Math::BigInt'->new($_);
                                                                  'Math::BigInt'->new('4')->beq($got);
                                                              },
                                                    "name" => "Math::BigInt->new(\"4\")->beq(\$_)",
                                                    "operator" => "CODE(...)"
                                                  }, 'Test2::Compare::Custom' )
                                         ],
                               "arr5" => [

t/toml-test/valid/comment/tricky.t  view on Meta::CPAN

               "section" => {
                              "8" => "eight",
                              "eleven" => bless( {
                                                   "_file" => "(eval 158)",
                                                   "_lines" => [
                                                                 7
                                                               ],
                                                   "code" => sub {
                                                                 BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                 use strict;
                                                                 no feature ':all';
                                                                 use feature ':5.16';
                                                                 require Math::BigFloat;
                                                                 my $got = 'Math::BigFloat'->new($_);
                                                                 'Math::BigFloat'->new('11.1')->beq($got);
                                                             },
                                                   "name" => "Math::BigFloat->new(\"11.1\")->beq(\$_)",
                                                   "operator" => "CODE(...)"
                                                 }, 'Test2::Compare::Custom' ),
                              "five" => bless( {
                                                 "_file" => "(eval 156)",
                                                 "_lines" => [
                                                               7
                                                             ],
                                                 "code" => sub {
                                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                               use strict;
                                                               no feature ':all';
                                                               use feature ':5.16';
                                                               require Math::BigFloat;
                                                               my $got = 'Math::BigFloat'->new($_);
                                                               'Math::BigFloat'->new('5.5')->beq($got);
                                                           },
                                                 "name" => "Math::BigFloat->new(\"5.5\")->beq(\$_)",
                                                 "operator" => "CODE(...)"
                                               }, 'Test2::Compare::Custom' ),
                              "four" => "# no comment\n# nor this\n#also not comment",
                              "one" => 11,
                              "six" => bless( {
                                                "_file" => "(eval 157)",
                                                "_lines" => [
                                                              7
                                                            ],
                                                "code" => sub {
                                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                              use strict;
                                                              no feature ':all';
                                                              use feature ':5.16';
                                                              require Math::BigInt;
                                                              my $got = 'Math::BigInt'->new($_);
                                                              'Math::BigInt'->new('6')->beq($got);
                                                          },
                                                "name" => "Math::BigInt->new(\"6\")->beq(\$_)",
                                                "operator" => "CODE(...)"
                                              }, 'Test2::Compare::Custom' ),
                              "ten" => bless( {
                                                "_file" => "(eval 159)",
                                                "_lines" => [
                                                              7
                                                            ],
                                                "code" => sub {
                                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                              use strict;
                                                              no feature ':all';
                                                              use feature ':5.16';
                                                              require Math::BigFloat;
                                                              my $got = 'Math::BigFloat'->new($_);
                                                              'Math::BigFloat'->new('1000.0')->beq($got);
                                                          },
                                                "name" => "Math::BigFloat->new(\"1000.0\")->beq(\$_)",
                                                "operator" => "CODE(...)"
                                              }, 'Test2::Compare::Custom' ),
                              "three" => "#",
                              "two" => "22#"

t/toml-test/valid/example.t  view on Meta::CPAN

                                "boring" => 0,
                                "perfection" => [
                                                  bless( {
                                                           "_file" => "(eval 164)",
                                                           "_lines" => [
                                                                         7
                                                                       ],
                                                           "code" => sub {
                                                                         BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                         use strict;
                                                                         no feature ':all';
                                                                         use feature ':5.16';
                                                                         require Math::BigInt;
                                                                         my $got = 'Math::BigInt'->new($_);
                                                                         'Math::BigInt'->new('6')->beq($got);
                                                                     },
                                                           "name" => "Math::BigInt->new(\"6\")->beq(\$_)",
                                                           "operator" => "CODE(...)"
                                                         }, 'Test2::Compare::Custom' ),
                                                  bless( {
                                                           "_file" => "(eval 165)",
                                                           "_lines" => [
                                                                         7
                                                                       ],
                                                           "code" => sub {
                                                                         BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                         use strict;
                                                                         no feature ':all';
                                                                         use feature ':5.16';
                                                                         require Math::BigInt;
                                                                         my $got = 'Math::BigInt'->new($_);
                                                                         'Math::BigInt'->new('28')->beq($got);
                                                                     },
                                                           "name" => "Math::BigInt->new(\"28\")->beq(\$_)",
                                                           "operator" => "CODE(...)"
                                                         }, 'Test2::Compare::Custom' ),
                                                  bless( {
                                                           "_file" => "(eval 166)",
                                                           "_lines" => [
                                                                         7
                                                                       ],
                                                           "code" => sub {
                                                                         BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                         use strict;
                                                                         no feature ':all';
                                                                         use feature ':5.16';
                                                                         require Math::BigInt;
                                                                         my $got = 'Math::BigInt'->new($_);
                                                                         'Math::BigInt'->new('496')->beq($got);
                                                                     },
                                                           "name" => "Math::BigInt->new(\"496\")->beq(\$_)",
                                                           "operator" => "CODE(...)"
                                                         }, 'Test2::Compare::Custom' )
                                                ]
                              }

t/toml-test/valid/float/exponent.t  view on Meta::CPAN


my $expected1 = {
               "lower" => bless( {
                                   "_file" => "(eval 173)",
                                   "_lines" => [
                                                 7
                                               ],
                                   "code" => sub {
                                                 BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                 use strict;
                                                 no feature ':all';
                                                 use feature ':5.16';
                                                 require Math::BigFloat;
                                                 my $got = 'Math::BigFloat'->new($_);
                                                 'Math::BigFloat'->new('300.0')->beq($got);
                                             },
                                   "name" => "Math::BigFloat->new(\"300.0\")->beq(\$_)",
                                   "operator" => "CODE(...)"
                                 }, 'Test2::Compare::Custom' ),
               "minustenth" => bless( {
                                        "_file" => "(eval 170)",
                                        "_lines" => [
                                                      7
                                                    ],
                                        "code" => sub {
                                                      BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                      use strict;
                                                      no feature ':all';
                                                      use feature ':5.16';
                                                      require Math::BigFloat;
                                                      my $got = 'Math::BigFloat'->new($_);
                                                      'Math::BigFloat'->new('-0.1')->beq($got);
                                                  },
                                        "name" => "Math::BigFloat->new(\"-0.1\")->beq(\$_)",
                                        "operator" => "CODE(...)"
                                      }, 'Test2::Compare::Custom' ),
               "neg" => bless( {
                                 "_file" => "(eval 167)",
                                 "_lines" => [
                                               7
                                             ],
                                 "code" => sub {
                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                               use strict;
                                               no feature ':all';
                                               use feature ':5.16';
                                               require Math::BigFloat;
                                               my $got = 'Math::BigFloat'->new($_);
                                               'Math::BigFloat'->new('0.03')->beq($got);
                                           },
                                 "name" => "Math::BigFloat->new(\"0.03\")->beq(\$_)",
                                 "operator" => "CODE(...)"
                               }, 'Test2::Compare::Custom' ),
               "pointlower" => bless( {
                                        "_file" => "(eval 172)",
                                        "_lines" => [
                                                      7
                                                    ],
                                        "code" => sub {
                                                      BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                      use strict;
                                                      no feature ':all';
                                                      use feature ':5.16';
                                                      require Math::BigFloat;
                                                      my $got = 'Math::BigFloat'->new($_);
                                                      'Math::BigFloat'->new('310.0')->beq($got);
                                                  },
                                        "name" => "Math::BigFloat->new(\"310.0\")->beq(\$_)",
                                        "operator" => "CODE(...)"
                                      }, 'Test2::Compare::Custom' ),
               "pointupper" => bless( {
                                        "_file" => "(eval 169)",
                                        "_lines" => [
                                                      7
                                                    ],
                                        "code" => sub {
                                                      BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                      use strict;
                                                      no feature ':all';
                                                      use feature ':5.16';
                                                      require Math::BigFloat;
                                                      my $got = 'Math::BigFloat'->new($_);
                                                      'Math::BigFloat'->new('310.0')->beq($got);
                                                  },
                                        "name" => "Math::BigFloat->new(\"310.0\")->beq(\$_)",
                                        "operator" => "CODE(...)"
                                      }, 'Test2::Compare::Custom' ),
               "pos" => bless( {
                                 "_file" => "(eval 171)",
                                 "_lines" => [
                                               7
                                             ],
                                 "code" => sub {
                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                               use strict;
                                               no feature ':all';
                                               use feature ':5.16';
                                               require Math::BigFloat;
                                               my $got = 'Math::BigFloat'->new($_);
                                               'Math::BigFloat'->new('300.0')->beq($got);
                                           },
                                 "name" => "Math::BigFloat->new(\"300.0\")->beq(\$_)",
                                 "operator" => "CODE(...)"
                               }, 'Test2::Compare::Custom' ),
               "upper" => bless( {
                                   "_file" => "(eval 174)",
                                   "_lines" => [
                                                 7
                                               ],
                                   "code" => sub {
                                                 BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                 use strict;
                                                 no feature ':all';
                                                 use feature ':5.16';
                                                 require Math::BigFloat;
                                                 my $got = 'Math::BigFloat'->new($_);
                                                 'Math::BigFloat'->new('300.0')->beq($got);
                                             },
                                   "name" => "Math::BigFloat->new(\"300.0\")->beq(\$_)",
                                   "operator" => "CODE(...)"
                                 }, 'Test2::Compare::Custom' ),
               "zero" => bless( {
                                  "_file" => "(eval 168)",
                                  "_lines" => [
                                                7
                                              ],
                                  "code" => sub {
                                                BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                use strict;
                                                no feature ':all';
                                                use feature ':5.16';
                                                require Math::BigFloat;
                                                my $got = 'Math::BigFloat'->new($_);
                                                'Math::BigFloat'->new('3.0')->beq($got);
                                            },
                                  "name" => "Math::BigFloat->new(\"3.0\")->beq(\$_)",
                                  "operator" => "CODE(...)"
                                }, 'Test2::Compare::Custom' )
             };

t/toml-test/valid/float/float.t  view on Meta::CPAN


my $expected1 = {
               "negpi" => bless( {
                                   "_file" => "(eval 175)",
                                   "_lines" => [
                                                 7
                                               ],
                                   "code" => sub {
                                                 BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                 use strict;
                                                 no feature ':all';
                                                 use feature ':5.16';
                                                 require Math::BigFloat;
                                                 my $got = 'Math::BigFloat'->new($_);
                                                 'Math::BigFloat'->new('-3.14')->beq($got);
                                             },
                                   "name" => "Math::BigFloat->new(\"-3.14\")->beq(\$_)",
                                   "operator" => "CODE(...)"
                                 }, 'Test2::Compare::Custom' ),
               "pi" => bless( {
                                "_file" => "(eval 176)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigFloat;
                                              my $got = 'Math::BigFloat'->new($_);
                                              'Math::BigFloat'->new('3.14')->beq($got);
                                          },
                                "name" => "Math::BigFloat->new(\"3.14\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "pospi" => bless( {
                                   "_file" => "(eval 178)",
                                   "_lines" => [
                                                 7
                                               ],
                                   "code" => sub {
                                                 BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                 use strict;
                                                 no feature ':all';
                                                 use feature ':5.16';
                                                 require Math::BigFloat;
                                                 my $got = 'Math::BigFloat'->new($_);
                                                 'Math::BigFloat'->new('3.14')->beq($got);
                                             },
                                   "name" => "Math::BigFloat->new(\"3.14\")->beq(\$_)",
                                   "operator" => "CODE(...)"
                                 }, 'Test2::Compare::Custom' ),
               "zero-intpart" => bless( {
                                          "_file" => "(eval 177)",
                                          "_lines" => [
                                                        7
                                                      ],
                                          "code" => sub {
                                                        BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                        use strict;
                                                        no feature ':all';
                                                        use feature ':5.16';
                                                        require Math::BigFloat;
                                                        my $got = 'Math::BigFloat'->new($_);
                                                        'Math::BigFloat'->new('0.123')->beq($got);
                                                    },
                                          "name" => "Math::BigFloat->new(\"0.123\")->beq(\$_)",
                                          "operator" => "CODE(...)"
                                        }, 'Test2::Compare::Custom' )
             };

t/toml-test/valid/float/inf-and-nan.t  view on Meta::CPAN


my $expected1 = {
               "infinity" => bless( {
                                      "_file" => "(eval 181)",
                                      "_lines" => [
                                                    6
                                                  ],
                                      "code" => sub {
                                                    BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                    use strict;
                                                    no feature ':all';
                                                    use feature ':5.16';
                                                    require Math::BigFloat;
                                                    'Math::BigFloat'->new($_)->is_inf;
                                                },
                                      "name" => "Math::BigFloat->new(\$_)->is_inf",
                                      "operator" => "CODE(...)"
                                    }, 'Test2::Compare::Custom' ),
               "infinity_neg" => bless( {
                                          "_file" => "(eval 180)",
                                          "_lines" => [
                                                        6
                                                      ],
                                          "code" => sub {
                                                        BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                        use strict;
                                                        no feature ':all';
                                                        use feature ':5.16';
                                                        require Math::BigFloat;
                                                        'Math::BigFloat'->new($_)->is_inf;
                                                    },
                                          "name" => "Math::BigFloat->new(\$_)->is_inf",
                                          "operator" => "CODE(...)"
                                        }, 'Test2::Compare::Custom' ),
               "infinity_plus" => bless( {
                                           "_file" => "(eval 184)",
                                           "_lines" => [
                                                         7
                                                       ],
                                           "code" => sub {
                                                         BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                         use strict;
                                                         no feature ':all';
                                                         use feature ':5.16';
                                                         require Math::BigFloat;
                                                         my $got = 'Math::BigFloat'->new($_);
                                                         'Math::BigFloat'->new('+inf')->beq($got);
                                                     },
                                           "name" => "Math::BigFloat->new(\"+inf\")->beq(\$_)",
                                           "operator" => "CODE(...)"
                                         }, 'Test2::Compare::Custom' ),
               "nan" => bless( {
                                 "_file" => "(eval 183)",
                                 "_lines" => [
                                               6
                                             ],
                                 "code" => sub {
                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                               use strict;
                                               no feature ':all';
                                               use feature ':5.16';
                                               require Math::BigFloat;
                                               'Math::BigFloat'->new($_)->is_nan;
                                           },
                                 "name" => "Math::BigFloat->new(\$_)->is_nan",
                                 "operator" => "CODE(...)"
                               }, 'Test2::Compare::Custom' ),
               "nan_neg" => bless( {
                                     "_file" => "(eval 179)",
                                     "_lines" => [
                                                   6
                                                 ],
                                     "code" => sub {
                                                   BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                   use strict;
                                                   no feature ':all';
                                                   use feature ':5.16';
                                                   require Math::BigFloat;
                                                   'Math::BigFloat'->new($_)->is_nan;
                                               },
                                     "name" => "Math::BigFloat->new(\$_)->is_nan",
                                     "operator" => "CODE(...)"
                                   }, 'Test2::Compare::Custom' ),
               "nan_plus" => bless( {
                                      "_file" => "(eval 182)",
                                      "_lines" => [
                                                    6
                                                  ],
                                      "code" => sub {
                                                    BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                    use strict;
                                                    no feature ':all';
                                                    use feature ':5.16';
                                                    require Math::BigFloat;
                                                    'Math::BigFloat'->new($_)->is_nan;
                                                },
                                      "name" => "Math::BigFloat->new(\$_)->is_nan",
                                      "operator" => "CODE(...)"
                                    }, 'Test2::Compare::Custom' )
             };


t/toml-test/valid/float/long.t  view on Meta::CPAN


my $expected1 = {
               "longpi" => bless( {
                                    "_file" => "(eval 185)",
                                    "_lines" => [
                                                  7
                                                ],
                                    "code" => sub {
                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                  use strict;
                                                  no feature ':all';
                                                  use feature ':5.16';
                                                  require Math::BigFloat;
                                                  my $got = 'Math::BigFloat'->new($_);
                                                  'Math::BigFloat'->new('3.141592653589793')->beq($got);
                                              },
                                    "name" => "Math::BigFloat->new(\"3.141592653589793\")->beq(\$_)",
                                    "operator" => "CODE(...)"
                                  }, 'Test2::Compare::Custom' ),
               "neglongpi" => bless( {
                                       "_file" => "(eval 186)",
                                       "_lines" => [
                                                     7
                                                   ],
                                       "code" => sub {
                                                     BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                     use strict;
                                                     no feature ':all';
                                                     use feature ':5.16';
                                                     require Math::BigFloat;
                                                     my $got = 'Math::BigFloat'->new($_);
                                                     'Math::BigFloat'->new('-3.141592653589793')->beq($got);
                                                 },
                                       "name" => "Math::BigFloat->new(\"-3.141592653589793\")->beq(\$_)",
                                       "operator" => "CODE(...)"
                                     }, 'Test2::Compare::Custom' )
             };

t/toml-test/valid/float/underscore.t  view on Meta::CPAN


my $expected1 = {
               "after" => bless( {
                                   "_file" => "(eval 187)",
                                   "_lines" => [
                                                 7
                                               ],
                                   "code" => sub {
                                                 BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                 use strict;
                                                 no feature ':all';
                                                 use feature ':5.16';
                                                 require Math::BigFloat;
                                                 my $got = 'Math::BigFloat'->new($_);
                                                 'Math::BigFloat'->new('3141.5927')->beq($got);
                                             },
                                   "name" => "Math::BigFloat->new(\"3141.5927\")->beq(\$_)",
                                   "operator" => "CODE(...)"
                                 }, 'Test2::Compare::Custom' ),
               "before" => bless( {
                                    "_file" => "(eval 189)",
                                    "_lines" => [
                                                  7
                                                ],
                                    "code" => sub {
                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                  use strict;
                                                  no feature ':all';
                                                  use feature ':5.16';
                                                  require Math::BigFloat;
                                                  my $got = 'Math::BigFloat'->new($_);
                                                  'Math::BigFloat'->new('3141.5927')->beq($got);
                                              },
                                    "name" => "Math::BigFloat->new(\"3141.5927\")->beq(\$_)",
                                    "operator" => "CODE(...)"
                                  }, 'Test2::Compare::Custom' ),
               "exponent" => bless( {
                                      "_file" => "(eval 188)",
                                      "_lines" => [
                                                    7
                                                  ],
                                      "code" => sub {
                                                    BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                    use strict;
                                                    no feature ':all';
                                                    use feature ':5.16';
                                                    require Math::BigFloat;
                                                    my $got = 'Math::BigFloat'->new($_);
                                                    'Math::BigFloat'->new('3.0e14')->beq($got);
                                                },
                                      "name" => "Math::BigFloat->new(\"3.0e14\")->beq(\$_)",
                                      "operator" => "CODE(...)"
                                    }, 'Test2::Compare::Custom' )
             };

t/toml-test/valid/float/zero.t  view on Meta::CPAN


my $expected1 = {
               "f1" => bless( {
                                "_file" => "(eval 194)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigFloat;
                                              my $got = 'Math::BigFloat'->new($_);
                                              'Math::BigFloat'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigFloat->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "f2" => bless( {
                                "_file" => "(eval 196)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigFloat;
                                              my $got = 'Math::BigFloat'->new($_);
                                              'Math::BigFloat'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigFloat->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "f3" => bless( {
                                "_file" => "(eval 192)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigFloat;
                                              my $got = 'Math::BigFloat'->new($_);
                                              'Math::BigFloat'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigFloat->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "f4" => bless( {
                                "_file" => "(eval 193)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigFloat;
                                              my $got = 'Math::BigFloat'->new($_);
                                              'Math::BigFloat'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigFloat->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "f5" => bless( {
                                "_file" => "(eval 195)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigFloat;
                                              my $got = 'Math::BigFloat'->new($_);
                                              'Math::BigFloat'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigFloat->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "f6" => bless( {
                                "_file" => "(eval 191)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigFloat;
                                              my $got = 'Math::BigFloat'->new($_);
                                              'Math::BigFloat'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigFloat->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "f7" => bless( {
                                "_file" => "(eval 190)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigFloat;
                                              my $got = 'Math::BigFloat'->new($_);
                                              'Math::BigFloat'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigFloat->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' )
             };

t/toml-test/valid/implicit-and-explicit-after.t  view on Meta::CPAN

                        "b" => {
                                 "c" => {
                                          "answer" => bless( {
                                                               "_file" => "(eval 198)",
                                                               "_lines" => [
                                                                             7
                                                                           ],
                                                               "code" => sub {
                                                                             BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                             use strict;
                                                                             no feature ':all';
                                                                             use feature ':5.16';
                                                                             require Math::BigInt;
                                                                             my $got = 'Math::BigInt'->new($_);
                                                                             'Math::BigInt'->new('42')->beq($got);
                                                                         },
                                                               "name" => "Math::BigInt->new(\"42\")->beq(\$_)",
                                                               "operator" => "CODE(...)"
                                                             }, 'Test2::Compare::Custom' )
                                        }
                               },
                        "better" => bless( {
                                             "_file" => "(eval 197)",
                                             "_lines" => [
                                                           7
                                                         ],
                                             "code" => sub {
                                                           BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                           use strict;
                                                           no feature ':all';
                                                           use feature ':5.16';
                                                           require Math::BigInt;
                                                           my $got = 'Math::BigInt'->new($_);
                                                           'Math::BigInt'->new('43')->beq($got);
                                                       },
                                             "name" => "Math::BigInt->new(\"43\")->beq(\$_)",
                                             "operator" => "CODE(...)"
                                           }, 'Test2::Compare::Custom' )
                      }
             };

t/toml-test/valid/implicit-and-explicit-before.t  view on Meta::CPAN

                        "b" => {
                                 "c" => {
                                          "answer" => bless( {
                                                               "_file" => "(eval 200)",
                                                               "_lines" => [
                                                                             7
                                                                           ],
                                                               "code" => sub {
                                                                             BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                             use strict;
                                                                             no feature ':all';
                                                                             use feature ':5.16';
                                                                             require Math::BigInt;
                                                                             my $got = 'Math::BigInt'->new($_);
                                                                             'Math::BigInt'->new('42')->beq($got);
                                                                         },
                                                               "name" => "Math::BigInt->new(\"42\")->beq(\$_)",
                                                               "operator" => "CODE(...)"
                                                             }, 'Test2::Compare::Custom' )
                                        }
                               },
                        "better" => bless( {
                                             "_file" => "(eval 199)",
                                             "_lines" => [
                                                           7
                                                         ],
                                             "code" => sub {
                                                           BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                           use strict;
                                                           no feature ':all';
                                                           use feature ':5.16';
                                                           require Math::BigInt;
                                                           my $got = 'Math::BigInt'->new($_);
                                                           'Math::BigInt'->new('43')->beq($got);
                                                       },
                                             "name" => "Math::BigInt->new(\"43\")->beq(\$_)",
                                             "operator" => "CODE(...)"
                                           }, 'Test2::Compare::Custom' )
                      }
             };

t/toml-test/valid/implicit-groups.t  view on Meta::CPAN

                        "b" => {
                                 "c" => {
                                          "answer" => bless( {
                                                               "_file" => "(eval 201)",
                                                               "_lines" => [
                                                                             7
                                                                           ],
                                                               "code" => sub {
                                                                             BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                             use strict;
                                                                             no feature ':all';
                                                                             use feature ':5.16';
                                                                             require Math::BigInt;
                                                                             my $got = 'Math::BigInt'->new($_);
                                                                             'Math::BigInt'->new('42')->beq($got);
                                                                         },
                                                               "name" => "Math::BigInt->new(\"42\")->beq(\$_)",
                                                               "operator" => "CODE(...)"
                                                             }, 'Test2::Compare::Custom' )
                                        }
                               }

t/toml-test/valid/inline-table/empty.t  view on Meta::CPAN

               "empty_in_array" => [
                                     {
                                       "not_empty" => bless( {
                                                               "_file" => "(eval 203)",
                                                               "_lines" => [
                                                                             7
                                                                           ],
                                                               "code" => sub {
                                                                             BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                             use strict;
                                                                             no feature ':all';
                                                                             use feature ':5.16';
                                                                             require Math::BigInt;
                                                                             my $got = 'Math::BigInt'->new($_);
                                                                             'Math::BigInt'->new('1')->beq($got);
                                                                         },
                                                               "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                               "operator" => "CODE(...)"
                                                             }, 'Test2::Compare::Custom' )
                                     },
                                     {}

t/toml-test/valid/inline-table/empty.t  view on Meta::CPAN

                                      {},
                                      {
                                        "not_empty" => bless( {
                                                                "_file" => "(eval 202)",
                                                                "_lines" => [
                                                                              7
                                                                            ],
                                                                "code" => sub {
                                                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                              use strict;
                                                                              no feature ':all';
                                                                              use feature ':5.16';
                                                                              require Math::BigInt;
                                                                              my $got = 'Math::BigInt'->new($_);
                                                                              'Math::BigInt'->new('1')->beq($got);
                                                                          },
                                                                "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                                "operator" => "CODE(...)"
                                                              }, 'Test2::Compare::Custom' )
                                      }
                                    ],

t/toml-test/valid/inline-table/inline-table.t  view on Meta::CPAN

                         },
               "point" => {
                            "x" => bless( {
                                            "_file" => "(eval 207)",
                                            "_lines" => [
                                                          7
                                                        ],
                                            "code" => sub {
                                                          BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                          use strict;
                                                          no feature ':all';
                                                          use feature ':5.16';
                                                          require Math::BigInt;
                                                          my $got = 'Math::BigInt'->new($_);
                                                          'Math::BigInt'->new('1')->beq($got);
                                                      },
                                            "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                            "operator" => "CODE(...)"
                                          }, 'Test2::Compare::Custom' ),
                            "y" => bless( {
                                            "_file" => "(eval 208)",
                                            "_lines" => [
                                                          7
                                                        ],
                                            "code" => sub {
                                                          BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                          use strict;
                                                          no feature ':all';
                                                          use feature ':5.16';
                                                          require Math::BigInt;
                                                          my $got = 'Math::BigInt'->new($_);
                                                          'Math::BigInt'->new('2')->beq($got);
                                                      },
                                            "name" => "Math::BigInt->new(\"2\")->beq(\$_)",
                                            "operator" => "CODE(...)"
                                          }, 'Test2::Compare::Custom' )
                          },
               "simple" => {
                             "a" => bless( {
                                             "_file" => "(eval 209)",
                                             "_lines" => [
                                                           7
                                                         ],
                                             "code" => sub {
                                                           BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                           use strict;
                                                           no feature ':all';
                                                           use feature ':5.16';
                                                           require Math::BigInt;
                                                           my $got = 'Math::BigInt'->new($_);
                                                           'Math::BigInt'->new('1')->beq($got);
                                                       },
                                             "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                             "operator" => "CODE(...)"
                                           }, 'Test2::Compare::Custom' )
                           },
               "str-key" => {
                              "a" => bless( {
                                              "_file" => "(eval 204)",
                                              "_lines" => [
                                                            7
                                                          ],
                                              "code" => sub {
                                                            BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                            use strict;
                                                            no feature ':all';
                                                            use feature ':5.16';
                                                            require Math::BigInt;
                                                            my $got = 'Math::BigInt'->new($_);
                                                            'Math::BigInt'->new('1')->beq($got);
                                                        },
                                              "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                              "operator" => "CODE(...)"
                                            }, 'Test2::Compare::Custom' )
                            },
               "table-array" => [
                                  {
                                    "a" => bless( {
                                                    "_file" => "(eval 205)",
                                                    "_lines" => [
                                                                  7
                                                                ],
                                                    "code" => sub {
                                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                  use strict;
                                                                  no feature ':all';
                                                                  use feature ':5.16';
                                                                  require Math::BigInt;
                                                                  my $got = 'Math::BigInt'->new($_);
                                                                  'Math::BigInt'->new('1')->beq($got);
                                                              },
                                                    "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                    "operator" => "CODE(...)"
                                                  }, 'Test2::Compare::Custom' )
                                  },
                                  {
                                    "b" => bless( {
                                                    "_file" => "(eval 206)",
                                                    "_lines" => [
                                                                  7
                                                                ],
                                                    "code" => sub {
                                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                  use strict;
                                                                  no feature ':all';
                                                                  use feature ':5.16';
                                                                  require Math::BigInt;
                                                                  my $got = 'Math::BigInt'->new($_);
                                                                  'Math::BigInt'->new('2')->beq($got);
                                                              },
                                                    "name" => "Math::BigInt->new(\"2\")->beq(\$_)",
                                                    "operator" => "CODE(...)"
                                                  }, 'Test2::Compare::Custom' )
                                  }
                                ]

t/toml-test/valid/inline-table/key-dotted.t  view on Meta::CPAN

               "a" => {
                        "a" => {
                                 "b" => bless( {
                                                 "_file" => "(eval 222)",
                                                 "_lines" => [
                                                               7
                                                             ],
                                                 "code" => sub {
                                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                               use strict;
                                                               no feature ':all';
                                                               use feature ':5.16';
                                                               require Math::BigInt;
                                                               my $got = 'Math::BigInt'->new($_);
                                                               'Math::BigInt'->new('1')->beq($got);
                                                           },
                                                 "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                 "operator" => "CODE(...)"
                                               }, 'Test2::Compare::Custom' )
                               }
                      },

t/toml-test/valid/inline-table/key-dotted.t  view on Meta::CPAN

                            "T" => {
                                     "a" => {
                                              "b" => bless( {
                                                              "_file" => "(eval 219)",
                                                              "_lines" => [
                                                                            7
                                                                          ],
                                                              "code" => sub {
                                                                            BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                            use strict;
                                                                            no feature ':all';
                                                                            use feature ':5.16';
                                                                            require Math::BigInt;
                                                                            my $got = 'Math::BigInt'->new($_);
                                                                            'Math::BigInt'->new('1')->beq($got);
                                                                        },
                                                              "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                              "operator" => "CODE(...)"
                                                            }, 'Test2::Compare::Custom' )
                                            }
                                   },
                            "t" => {
                                     "a" => {
                                              "b" => bless( {
                                                              "_file" => "(eval 218)",
                                                              "_lines" => [
                                                                            7
                                                                          ],
                                                              "code" => sub {
                                                                            BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                            use strict;
                                                                            no feature ':all';
                                                                            use feature ':5.16';
                                                                            require Math::BigInt;
                                                                            my $got = 'Math::BigInt'->new($_);
                                                                            'Math::BigInt'->new('1')->beq($got);
                                                                        },
                                                              "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                              "operator" => "CODE(...)"
                                                            }, 'Test2::Compare::Custom' )
                                            }
                                   }

t/toml-test/valid/inline-table/key-dotted.t  view on Meta::CPAN

                            "T" => {
                                     "a" => {
                                              "b" => bless( {
                                                              "_file" => "(eval 221)",
                                                              "_lines" => [
                                                                            7
                                                                          ],
                                                              "code" => sub {
                                                                            BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                            use strict;
                                                                            no feature ':all';
                                                                            use feature ':5.16';
                                                                            require Math::BigInt;
                                                                            my $got = 'Math::BigInt'->new($_);
                                                                            'Math::BigInt'->new('2')->beq($got);
                                                                        },
                                                              "name" => "Math::BigInt->new(\"2\")->beq(\$_)",
                                                              "operator" => "CODE(...)"
                                                            }, 'Test2::Compare::Custom' )
                                            }
                                   },
                            "t" => {
                                     "a" => {
                                              "b" => bless( {
                                                              "_file" => "(eval 220)",
                                                              "_lines" => [
                                                                            7
                                                                          ],
                                                              "code" => sub {
                                                                            BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                            use strict;
                                                                            no feature ':all';
                                                                            use feature ':5.16';
                                                                            require Math::BigInt;
                                                                            my $got = 'Math::BigInt'->new($_);
                                                                            'Math::BigInt'->new('2')->beq($got);
                                                                        },
                                                              "name" => "Math::BigInt->new(\"2\")->beq(\$_)",
                                                              "operator" => "CODE(...)"
                                                            }, 'Test2::Compare::Custom' )
                                            }
                                   }

t/toml-test/valid/inline-table/key-dotted.t  view on Meta::CPAN

               "b" => {
                        "a" => {
                                 "b" => bless( {
                                                 "_file" => "(eval 223)",
                                                 "_lines" => [
                                                               7
                                                             ],
                                                 "code" => sub {
                                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                               use strict;
                                                               no feature ':all';
                                                               use feature ':5.16';
                                                               require Math::BigInt;
                                                               my $got = 'Math::BigInt'->new($_);
                                                               'Math::BigInt'->new('1')->beq($got);
                                                           },
                                                 "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                 "operator" => "CODE(...)"
                                               }, 'Test2::Compare::Custom' )
                               }
                      },
               "c" => {
                        "a" => {
                                 "b" => bless( {
                                                 "_file" => "(eval 211)",
                                                 "_lines" => [
                                                               7
                                                             ],
                                                 "code" => sub {
                                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                               use strict;
                                                               no feature ':all';
                                                               use feature ':5.16';
                                                               require Math::BigInt;
                                                               my $got = 'Math::BigInt'->new($_);
                                                               'Math::BigInt'->new('1')->beq($got);
                                                           },
                                                 "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                 "operator" => "CODE(...)"
                                               }, 'Test2::Compare::Custom' )
                               }
                      },
               "d" => {
                        "a" => {
                                 "b" => bless( {
                                                 "_file" => "(eval 210)",
                                                 "_lines" => [
                                                               7
                                                             ],
                                                 "code" => sub {
                                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                               use strict;
                                                               no feature ':all';
                                                               use feature ':5.16';
                                                               require Math::BigInt;
                                                               my $got = 'Math::BigInt'->new($_);
                                                               'Math::BigInt'->new('1')->beq($got);
                                                           },
                                                 "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                 "operator" => "CODE(...)"
                                               }, 'Test2::Compare::Custom' )
                               }
                      },
               "e" => {
                        "a" => {
                                 "b" => bless( {
                                                 "_file" => "(eval 212)",
                                                 "_lines" => [
                                                               7
                                                             ],
                                                 "code" => sub {
                                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                               use strict;
                                                               no feature ':all';
                                                               use feature ':5.16';
                                                               require Math::BigInt;
                                                               my $got = 'Math::BigInt'->new($_);
                                                               'Math::BigInt'->new('1')->beq($got);
                                                           },
                                                 "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                 "operator" => "CODE(...)"
                                               }, 'Test2::Compare::Custom' )
                               }
                      },
               "inline" => {
                             "a" => {
                                      "b" => bless( {
                                                      "_file" => "(eval 215)",
                                                      "_lines" => [
                                                                    7
                                                                  ],
                                                      "code" => sub {
                                                                    BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                    use strict;
                                                                    no feature ':all';
                                                                    use feature ':5.16';
                                                                    require Math::BigInt;
                                                                    my $got = 'Math::BigInt'->new($_);
                                                                    'Math::BigInt'->new('42')->beq($got);
                                                                },
                                                      "name" => "Math::BigInt->new(\"42\")->beq(\$_)",
                                                      "operator" => "CODE(...)"
                                                    }, 'Test2::Compare::Custom' )
                                    }
                           },

t/toml-test/valid/inline-table/key-dotted.t  view on Meta::CPAN

                                                                                    "a" => {
                                                                                             "b" => {
                                                                                                      "c" => bless( {
                                                                                                                      "_file" => "(eval 213)",
                                                                                                                      "_lines" => [
                                                                                                                                    7
                                                                                                                                  ],
                                                                                                                      "code" => sub {
                                                                                                                                    BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                                                                                    use strict;
                                                                                                                                    no feature ':all';
                                                                                                                                    use feature ':5.16';
                                                                                                                                    require Math::BigInt;
                                                                                                                                    my $got = 'Math::BigInt'->new($_);
                                                                                                                                    'Math::BigInt'->new('1')->beq($got);
                                                                                                                                },
                                                                                                                      "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                                                                                      "operator" => "CODE(...)"
                                                                                                                    }, 'Test2::Compare::Custom' ),
                                                                                                      "d" => bless( {
                                                                                                                      "_file" => "(eval 214)",
                                                                                                                      "_lines" => [
                                                                                                                                    7
                                                                                                                                  ],
                                                                                                                      "code" => sub {
                                                                                                                                    BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                                                                                    use strict;
                                                                                                                                    no feature ':all';
                                                                                                                                    use feature ':5.16';
                                                                                                                                    require Math::BigInt;
                                                                                                                                    my $got = 'Math::BigInt'->new($_);
                                                                                                                                    'Math::BigInt'->new('2')->beq($got);
                                                                                                                                },
                                                                                                                      "name" => "Math::BigInt->new(\"2\")->beq(\$_)",
                                                                                                                      "operator" => "CODE(...)"
                                                                                                                    }, 'Test2::Compare::Custom' )
                                                                                                    }
                                                                                           }

t/toml-test/valid/inline-table/key-dotted.t  view on Meta::CPAN

                                            "c" => {
                                                     "d" => {
                                                              "e" => bless( {
                                                                              "_file" => "(eval 217)",
                                                                              "_lines" => [
                                                                                            7
                                                                                          ],
                                                                              "code" => sub {
                                                                                            BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                                            use strict;
                                                                                            no feature ':all';
                                                                                            use feature ':5.16';
                                                                                            require Math::BigInt;
                                                                                            my $got = 'Math::BigInt'->new($_);
                                                                                            'Math::BigInt'->new('1')->beq($got);
                                                                                        },
                                                                              "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                                              "operator" => "CODE(...)"
                                                                            }, 'Test2::Compare::Custom' )
                                                            }
                                                   }

t/toml-test/valid/inline-table/key-dotted.t  view on Meta::CPAN

                                                     "c" => {
                                                              "d" => {
                                                                       "e" => bless( {
                                                                                       "_file" => "(eval 216)",
                                                                                       "_lines" => [
                                                                                                     7
                                                                                                   ],
                                                                                       "code" => sub {
                                                                                                     BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                                                     use strict;
                                                                                                     no feature ':all';
                                                                                                     use feature ':5.16';
                                                                                                     require Math::BigInt;
                                                                                                     my $got = 'Math::BigInt'->new($_);
                                                                                                     'Math::BigInt'->new('1')->beq($got);
                                                                                                 },
                                                                                       "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                                                       "operator" => "CODE(...)"
                                                                                     }, 'Test2::Compare::Custom' )
                                                                     }
                                                            }

t/toml-test/valid/inline-table/multiline.t  view on Meta::CPAN

my $expected1 = {
               "tbl_multiline" => {
                                    "a" => bless( {
                                                    "_file" => "(eval 224)",
                                                    "_lines" => [
                                                                  7
                                                                ],
                                                    "code" => sub {
                                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                  use strict;
                                                                  no feature ':all';
                                                                  use feature ':5.16';
                                                                  require Math::BigInt;
                                                                  my $got = 'Math::BigInt'->new($_);
                                                                  'Math::BigInt'->new('1')->beq($got);
                                                              },
                                                    "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                    "operator" => "CODE(...)"
                                                  }, 'Test2::Compare::Custom' ),
                                    "b" => "multiline\n",
                                    "c" => "and yet\nanother line",
                                    "d" => bless( {
                                                    "_file" => "(eval 225)",
                                                    "_lines" => [
                                                                  7
                                                                ],
                                                    "code" => sub {
                                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                  use strict;
                                                                  no feature ':all';
                                                                  use feature ':5.16';
                                                                  require Math::BigInt;
                                                                  my $got = 'Math::BigInt'->new($_);
                                                                  'Math::BigInt'->new('4')->beq($got);
                                                              },
                                                    "name" => "Math::BigInt->new(\"4\")->beq(\$_)",
                                                    "operator" => "CODE(...)"
                                                  }, 'Test2::Compare::Custom' )
                                  }
             };

t/toml-test/valid/inline-table/nest.t  view on Meta::CPAN

                                      [
                                        {
                                          "one" => bless( {
                                                            "_file" => "(eval 228)",
                                                            "_lines" => [
                                                                          7
                                                                        ],
                                                            "code" => sub {
                                                                          BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                          use strict;
                                                                          no feature ':all';
                                                                          use feature ':5.16';
                                                                          require Math::BigInt;
                                                                          my $got = 'Math::BigInt'->new($_);
                                                                          'Math::BigInt'->new('1')->beq($got);
                                                                      },
                                                            "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                            "operator" => "CODE(...)"
                                                          }, 'Test2::Compare::Custom' )
                                        }
                                      ]

t/toml-test/valid/inline-table/nest.t  view on Meta::CPAN

                                   [
                                     {
                                       "one" => bless( {
                                                         "_file" => "(eval 226)",
                                                         "_lines" => [
                                                                       7
                                                                     ],
                                                         "code" => sub {
                                                                       BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                       use strict;
                                                                       no feature ':all';
                                                                       use feature ':5.16';
                                                                       require Math::BigInt;
                                                                       my $got = 'Math::BigInt'->new($_);
                                                                       'Math::BigInt'->new('1')->beq($got);
                                                                   },
                                                         "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                         "operator" => "CODE(...)"
                                                       }, 'Test2::Compare::Custom' )
                                     },
                                     {
                                       "two" => bless( {
                                                         "_file" => "(eval 227)",
                                                         "_lines" => [
                                                                       7
                                                                     ],
                                                         "code" => sub {
                                                                       BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                       use strict;
                                                                       no feature ':all';
                                                                       use feature ':5.16';
                                                                       require Math::BigInt;
                                                                       my $got = 'Math::BigInt'->new($_);
                                                                       'Math::BigInt'->new('2')->beq($got);
                                                                   },
                                                         "name" => "Math::BigInt->new(\"2\")->beq(\$_)",
                                                         "operator" => "CODE(...)"
                                                       }, 'Test2::Compare::Custom' )
                                     }
                                   ]

t/toml-test/valid/inline-table/nest.t  view on Meta::CPAN

                                  {
                                    "tbl" => {
                                               "one" => bless( {
                                                                 "_file" => "(eval 230)",
                                                                 "_lines" => [
                                                                               7
                                                                             ],
                                                                 "code" => sub {
                                                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                               use strict;
                                                                               no feature ':all';
                                                                               use feature ':5.16';
                                                                               require Math::BigInt;
                                                                               my $got = 'Math::BigInt'->new($_);
                                                                               'Math::BigInt'->new('1')->beq($got);
                                                                           },
                                                                 "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                                 "operator" => "CODE(...)"
                                                               }, 'Test2::Compare::Custom' )
                                             }
                                  }

t/toml-test/valid/inline-table/nest.t  view on Meta::CPAN

                                  "arr_tbl" => [
                                                 {
                                                   "one" => bless( {
                                                                     "_file" => "(eval 231)",
                                                                     "_lines" => [
                                                                                   7
                                                                                 ],
                                                                     "code" => sub {
                                                                                   BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                                   use strict;
                                                                                   no feature ':all';
                                                                                   use feature ':5.16';
                                                                                   require Math::BigInt;
                                                                                   my $got = 'Math::BigInt'->new($_);
                                                                                   'Math::BigInt'->new('1')->beq($got);
                                                                               },
                                                                     "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                                     "operator" => "CODE(...)"
                                                                   }, 'Test2::Compare::Custom' )
                                                 }
                                               ]

t/toml-test/valid/inline-table/nest.t  view on Meta::CPAN

               "tbl_tbl_val" => {
                                  "tbl_1" => {
                                               "one" => bless( {
                                                                 "_file" => "(eval 229)",
                                                                 "_lines" => [
                                                                               7
                                                                             ],
                                                                 "code" => sub {
                                                                               BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                                               use strict;
                                                                               no feature ':all';
                                                                               use feature ':5.16';
                                                                               require Math::BigInt;
                                                                               my $got = 'Math::BigInt'->new($_);
                                                                               'Math::BigInt'->new('1')->beq($got);
                                                                           },
                                                                 "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                                 "operator" => "CODE(...)"
                                                               }, 'Test2::Compare::Custom' )
                                             }
                                }

t/toml-test/valid/integer/integer.t  view on Meta::CPAN


my $expected1 = {
               "answer" => bless( {
                                    "_file" => "(eval 234)",
                                    "_lines" => [
                                                  7
                                                ],
                                    "code" => sub {
                                                  BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                  use strict;
                                                  no feature ':all';
                                                  use feature ':5.16';
                                                  require Math::BigInt;
                                                  my $got = 'Math::BigInt'->new($_);
                                                  'Math::BigInt'->new('42')->beq($got);
                                              },
                                    "name" => "Math::BigInt->new(\"42\")->beq(\$_)",
                                    "operator" => "CODE(...)"
                                  }, 'Test2::Compare::Custom' ),
               "neganswer" => bless( {
                                       "_file" => "(eval 233)",
                                       "_lines" => [
                                                     7
                                                   ],
                                       "code" => sub {
                                                     BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                     use strict;
                                                     no feature ':all';
                                                     use feature ':5.16';
                                                     require Math::BigInt;
                                                     my $got = 'Math::BigInt'->new($_);
                                                     'Math::BigInt'->new('-42')->beq($got);
                                                 },
                                       "name" => "Math::BigInt->new(\"-42\")->beq(\$_)",
                                       "operator" => "CODE(...)"
                                     }, 'Test2::Compare::Custom' ),
               "posanswer" => bless( {
                                       "_file" => "(eval 235)",
                                       "_lines" => [
                                                     7
                                                   ],
                                       "code" => sub {
                                                     BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                     use strict;
                                                     no feature ':all';
                                                     use feature ':5.16';
                                                     require Math::BigInt;
                                                     my $got = 'Math::BigInt'->new($_);
                                                     'Math::BigInt'->new('42')->beq($got);
                                                 },
                                       "name" => "Math::BigInt->new(\"42\")->beq(\$_)",
                                       "operator" => "CODE(...)"
                                     }, 'Test2::Compare::Custom' ),
               "zero" => bless( {
                                  "_file" => "(eval 232)",
                                  "_lines" => [
                                                7
                                              ],
                                  "code" => sub {
                                                BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                use strict;
                                                no feature ':all';
                                                use feature ':5.16';
                                                require Math::BigInt;
                                                my $got = 'Math::BigInt'->new($_);
                                                'Math::BigInt'->new('0')->beq($got);
                                            },
                                  "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                  "operator" => "CODE(...)"
                                }, 'Test2::Compare::Custom' )
             };

t/toml-test/valid/integer/literals.t  view on Meta::CPAN


my $expected1 = {
               "bin1" => bless( {
                                  "_file" => "(eval 236)",
                                  "_lines" => [
                                                7
                                              ],
                                  "code" => sub {
                                                BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                use strict;
                                                no feature ':all';
                                                use feature ':5.16';
                                                require Math::BigInt;
                                                my $got = 'Math::BigInt'->new($_);
                                                'Math::BigInt'->new('214')->beq($got);
                                            },
                                  "name" => "Math::BigInt->new(\"214\")->beq(\$_)",
                                  "operator" => "CODE(...)"
                                }, 'Test2::Compare::Custom' ),
               "bin2" => bless( {
                                  "_file" => "(eval 244)",
                                  "_lines" => [
                                                7
                                              ],
                                  "code" => sub {
                                                BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                use strict;
                                                no feature ':all';
                                                use feature ':5.16';
                                                require Math::BigInt;
                                                my $got = 'Math::BigInt'->new($_);
                                                'Math::BigInt'->new('5')->beq($got);
                                            },
                                  "name" => "Math::BigInt->new(\"5\")->beq(\$_)",
                                  "operator" => "CODE(...)"
                                }, 'Test2::Compare::Custom' ),
               "hex1" => bless( {
                                  "_file" => "(eval 237)",
                                  "_lines" => [
                                                7
                                              ],
                                  "code" => sub {
                                                BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                use strict;
                                                no feature ':all';
                                                use feature ':5.16';
                                                require Math::BigInt;
                                                my $got = 'Math::BigInt'->new($_);
                                                'Math::BigInt'->new('3735928559')->beq($got);
                                            },
                                  "name" => "Math::BigInt->new(\"3735928559\")->beq(\$_)",
                                  "operator" => "CODE(...)"
                                }, 'Test2::Compare::Custom' ),
               "hex2" => bless( {
                                  "_file" => "(eval 242)",
                                  "_lines" => [
                                                7
                                              ],
                                  "code" => sub {
                                                BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                use strict;
                                                no feature ':all';
                                                use feature ':5.16';
                                                require Math::BigInt;
                                                my $got = 'Math::BigInt'->new($_);
                                                'Math::BigInt'->new('3735928559')->beq($got);
                                            },
                                  "name" => "Math::BigInt->new(\"3735928559\")->beq(\$_)",
                                  "operator" => "CODE(...)"
                                }, 'Test2::Compare::Custom' ),
               "hex3" => bless( {
                                  "_file" => "(eval 243)",
                                  "_lines" => [
                                                7
                                              ],
                                  "code" => sub {
                                                BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                use strict;
                                                no feature ':all';
                                                use feature ':5.16';
                                                require Math::BigInt;
                                                my $got = 'Math::BigInt'->new($_);
                                                'Math::BigInt'->new('3735928559')->beq($got);
                                            },
                                  "name" => "Math::BigInt->new(\"3735928559\")->beq(\$_)",
                                  "operator" => "CODE(...)"
                                }, 'Test2::Compare::Custom' ),
               "hex4" => bless( {
                                  "_file" => "(eval 240)",
                                  "_lines" => [
                                                7
                                              ],
                                  "code" => sub {
                                                BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                use strict;
                                                no feature ':all';
                                                use feature ':5.16';
                                                require Math::BigInt;
                                                my $got = 'Math::BigInt'->new($_);
                                                'Math::BigInt'->new('2439')->beq($got);
                                            },
                                  "name" => "Math::BigInt->new(\"2439\")->beq(\$_)",
                                  "operator" => "CODE(...)"
                                }, 'Test2::Compare::Custom' ),
               "oct1" => bless( {
                                  "_file" => "(eval 241)",
                                  "_lines" => [
                                                7
                                              ],
                                  "code" => sub {
                                                BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                use strict;
                                                no feature ':all';
                                                use feature ':5.16';
                                                require Math::BigInt;
                                                my $got = 'Math::BigInt'->new($_);
                                                'Math::BigInt'->new('342391')->beq($got);
                                            },
                                  "name" => "Math::BigInt->new(\"342391\")->beq(\$_)",
                                  "operator" => "CODE(...)"
                                }, 'Test2::Compare::Custom' ),
               "oct2" => bless( {
                                  "_file" => "(eval 239)",
                                  "_lines" => [
                                                7
                                              ],
                                  "code" => sub {
                                                BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                use strict;
                                                no feature ':all';
                                                use feature ':5.16';
                                                require Math::BigInt;
                                                my $got = 'Math::BigInt'->new($_);
                                                'Math::BigInt'->new('493')->beq($got);
                                            },
                                  "name" => "Math::BigInt->new(\"493\")->beq(\$_)",
                                  "operator" => "CODE(...)"
                                }, 'Test2::Compare::Custom' ),
               "oct3" => bless( {
                                  "_file" => "(eval 238)",
                                  "_lines" => [
                                                7
                                              ],
                                  "code" => sub {
                                                BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                use strict;
                                                no feature ':all';
                                                use feature ':5.16';
                                                require Math::BigInt;
                                                my $got = 'Math::BigInt'->new($_);
                                                'Math::BigInt'->new('501')->beq($got);
                                            },
                                  "name" => "Math::BigInt->new(\"501\")->beq(\$_)",
                                  "operator" => "CODE(...)"
                                }, 'Test2::Compare::Custom' )
             };

t/toml-test/valid/integer/long.t  view on Meta::CPAN


my $expected1 = {
               "int64-max" => bless( {
                                       "_file" => "(eval 245)",
                                       "_lines" => [
                                                     7
                                                   ],
                                       "code" => sub {
                                                     BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                     use strict;
                                                     no feature ':all';
                                                     use feature ':5.16';
                                                     require Math::BigInt;
                                                     my $got = 'Math::BigInt'->new($_);
                                                     'Math::BigInt'->new('9223372036854775807')->beq($got);
                                                 },
                                       "name" => "Math::BigInt->new(\"9223372036854775807\")->beq(\$_)",
                                       "operator" => "CODE(...)"
                                     }, 'Test2::Compare::Custom' ),
               "int64-max-neg" => bless( {
                                           "_file" => "(eval 246)",
                                           "_lines" => [
                                                         7
                                                       ],
                                           "code" => sub {
                                                         BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                         use strict;
                                                         no feature ':all';
                                                         use feature ':5.16';
                                                         require Math::BigInt;
                                                         my $got = 'Math::BigInt'->new($_);
                                                         'Math::BigInt'->new('-9223372036854775808')->beq($got);
                                                     },
                                           "name" => "Math::BigInt->new(\"-9223372036854775808\")->beq(\$_)",
                                           "operator" => "CODE(...)"
                                         }, 'Test2::Compare::Custom' )
             };

t/toml-test/valid/integer/underscore.t  view on Meta::CPAN


my $expected1 = {
               "kilo" => bless( {
                                  "_file" => "(eval 247)",
                                  "_lines" => [
                                                7
                                              ],
                                  "code" => sub {
                                                BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                use strict;
                                                no feature ':all';
                                                use feature ':5.16';
                                                require Math::BigInt;
                                                my $got = 'Math::BigInt'->new($_);
                                                'Math::BigInt'->new('1000')->beq($got);
                                            },
                                  "name" => "Math::BigInt->new(\"1000\")->beq(\$_)",
                                  "operator" => "CODE(...)"
                                }, 'Test2::Compare::Custom' ),
               "x" => bless( {
                               "_file" => "(eval 248)",
                               "_lines" => [
                                             7
                                           ],
                               "code" => sub {
                                             BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                             use strict;
                                             no feature ':all';
                                             use feature ':5.16';
                                             require Math::BigInt;
                                             my $got = 'Math::BigInt'->new($_);
                                             'Math::BigInt'->new('1111')->beq($got);
                                         },
                               "name" => "Math::BigInt->new(\"1111\")->beq(\$_)",
                               "operator" => "CODE(...)"
                             }, 'Test2::Compare::Custom' )
             };

t/toml-test/valid/integer/zero.t  view on Meta::CPAN


my $expected1 = {
               "a2" => bless( {
                                "_file" => "(eval 258)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigInt;
                                              my $got = 'Math::BigInt'->new($_);
                                              'Math::BigInt'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "a3" => bless( {
                                "_file" => "(eval 249)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigInt;
                                              my $got = 'Math::BigInt'->new($_);
                                              'Math::BigInt'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "b1" => bless( {
                                "_file" => "(eval 253)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigInt;
                                              my $got = 'Math::BigInt'->new($_);
                                              'Math::BigInt'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "b2" => bless( {
                                "_file" => "(eval 260)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigInt;
                                              my $got = 'Math::BigInt'->new($_);
                                              'Math::BigInt'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "b3" => bless( {
                                "_file" => "(eval 252)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigInt;
                                              my $got = 'Math::BigInt'->new($_);
                                              'Math::BigInt'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "d1" => bless( {
                                "_file" => "(eval 256)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigInt;
                                              my $got = 'Math::BigInt'->new($_);
                                              'Math::BigInt'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "d2" => bless( {
                                "_file" => "(eval 250)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigInt;
                                              my $got = 'Math::BigInt'->new($_);
                                              'Math::BigInt'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "d3" => bless( {
                                "_file" => "(eval 259)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigInt;
                                              my $got = 'Math::BigInt'->new($_);
                                              'Math::BigInt'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "h1" => bless( {
                                "_file" => "(eval 251)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigInt;
                                              my $got = 'Math::BigInt'->new($_);
                                              'Math::BigInt'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "h2" => bless( {
                                "_file" => "(eval 255)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigInt;
                                              my $got = 'Math::BigInt'->new($_);
                                              'Math::BigInt'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "h3" => bless( {
                                "_file" => "(eval 254)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigInt;
                                              my $got = 'Math::BigInt'->new($_);
                                              'Math::BigInt'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' ),
               "o1" => bless( {
                                "_file" => "(eval 257)",
                                "_lines" => [
                                              7
                                            ],
                                "code" => sub {
                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                              use strict;
                                              no feature ':all';
                                              use feature ':5.16';
                                              require Math::BigInt;
                                              my $got = 'Math::BigInt'->new($_);
                                              'Math::BigInt'->new('0')->beq($got);
                                          },
                                "name" => "Math::BigInt->new(\"0\")->beq(\$_)",
                                "operator" => "CODE(...)"
                              }, 'Test2::Compare::Custom' )
             };

t/toml-test/valid/key/alphanum.t  view on Meta::CPAN

               "123" => "num",
               "2018_10" => {
                              "001" => bless( {
                                                "_file" => "(eval 262)",
                                                "_lines" => [
                                                              7
                                                            ],
                                                "code" => sub {
                                                              BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                              use strict;
                                                              no feature ':all';
                                                              use feature ':5.16';
                                                              require Math::BigInt;
                                                              my $got = 'Math::BigInt'->new($_);
                                                              'Math::BigInt'->new('1')->beq($got);
                                                          },
                                                "name" => "Math::BigInt->new(\"1\")->beq(\$_)",
                                                "operator" => "CODE(...)"
                                              }, 'Test2::Compare::Custom' )
                            },
               "34-11" => bless( {
                                   "_file" => "(eval 261)",
                                   "_lines" => [
                                                 7
                                               ],
                                   "code" => sub {
                                                 BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x50"}
                                                 use strict;
                                                 no feature ':all';
                                                 use feature ':5.16';
                                                 require Math::BigInt;
                                                 my $got = 'Math::BigInt'->new($_);
                                                 'Math::BigInt'->new('23')->beq($got);
                                             },
                                   "name" => "Math::BigInt->new(\"23\")->beq(\$_)",
                                   "operator" => "CODE(...)"
                                 }, 'Test2::Compare::Custom' ),
               "a-a-a" => {
                            "_" => 0



( run in 0.446 second using v1.01-cache-2.11-cpan-cba739cd03b )