Hi All.
It is also possible to use Perl 5.8, with "Q" instead of "Q>".
(it just will be machine-native instead of BE)
Still, the results are the same.
I also see reports from Perl 5.6.2 with 64 bit support. I get a weird
result there with all-zeros.
Help?
(reminder: my module is Data::ParseBinary)
Shmuel.
Shmuel Fomberg wrote:
> Hi All.
>
> Can someone with tell me why this code:
> (you will need Perl 5.10 and 64 bit support and Math::BigIn installed)
>
> print unpack "H*", pack "Q>", Math::BigInt->new("18446744073709551360");
>
> prints 'ffffffffffffffff' instead of 'ffffffffffffff00' that I expect it
> to?
>
> Thanks,
> Shmuel.
>
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl