in reply to Re: How to convert bigint to bytearray in perl
in thread How to convert bigint to bytearray in perl

Thanks for your help, tried your code, unfortunately, i am getting below error.

Can't locate object method "to_bytes" via package "Math::BigInt"

  • Comment on Re^2: How to convert bigint to bytearray in perl

Replies are listed 'Best First'.
Re^3: How to convert bigint to bytearray in perl
by haukex (Archbishop) on Aug 26, 2019 at 06:59 UTC
    Can't locate object method "to_bytes" via package "Math::BigInt"

    The to_bytes method was added in Math::BigInt 1.999807, which was distributed with Perl 5.28. You should be able to install the latest version from CPAN.