Fri Sep 28 17:32:20 2012user42 [...] zip.com.au - Ticket created
Subject:
bitwise & with plain integer
Date:
Sat, 29 Sep 2012 07:32:12 +1000
To:
bug-Math-BigInt-Lite [...] rt.cpan.org
From:
Kevin Ryde <user42 [...] zip.com.au>
With Math::BigInt::Lite 0.14 and recent debian i386 perl 5.14.2, running
use Math::BigInt::Lite;
print Math::BigInt::Lite->new(123) & 1;
gets an error
Can't use an undefined value as an ARRAY reference at /usr/share/perl5/Math/BigInt/Calc.pm line 1180.
where I hoped it would print "1", mixing bigint and plain scalar.