- or download this
>>> true
...
>>> "stringification: " + (1==1)
"stringification: true"
- or download this
use v5.10.0;
use boolean;
say true;
say "stringification:" . (1==1);
- or download this
/usr/bin/perl -w /tmp/boolean.pl
1
stringification:1
- or download this
use Scalar::Util qw/dualvar/;
...
say $false;
say "stringification: " . $false;
say "numification: " . (0+$false);