The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more
|
#!/usr/bin/perl
BEGIN { $ENV {PERL_BSON_BACKEND} = "" }
BEGIN { $INC { "BSON/XS.pm" } = undef }
ok(BSON::Bool->new(1));
ok(!BSON::Bool->new(0));
ok(BSON::Bool->true);
ok(!BSON::Bool->false);
my $t = BSON::Bool->true;
my $f = BSON::Bool->false;
ok( $t && ! $f );
|