A note of clarification, the Q template will only work for pack() on 64-bit systems, and if it is compiled into Perl.
Thanks, David On Mon, Feb 14, 2011 at 10:45 PM, Shmuel Fomberg <ow...@semuel.co.il> wrote: > Hi All. > > I am dealing with my Data::ParseBinary, and I get some failed tests. > > It is really the command: > print unpack "H*", pack "Q>", Math::BigInt->new("18446744073709551360"); > > returns fffffff7839ad000 instead of ffffffffffffff00. > > It happens only on 64 bit systems. > > Any idea? > > > The reports are on: > > http://www.cpantesters.org/distro/D/Data-ParseBinary.html?version=0.2901 > > > Shmuel. > > _______________________________________________ > Perl mailing list > Perl@perl.org.il > http://mail.perl.org.il/mailman/listinfo/perl > _______________________________________________ Perl mailing list Perl@perl.org.il http://mail.perl.org.il/mailman/listinfo/perl