in reply to Re: Perl equivalent of Java code
in thread Perl equivalent of Java code

Thanks for your reply
I am not very familiar with Java but here goes
From the javadoc

BigInteger(String val, int radix) Translates the String representation of a BigInteger in the specified radix into a BigInteger.


toByteArray() Returns a byte array containing the two's-complement representation of this BigInteger.