in reply to Perl equivalent of Java code

I don't know about the toByteArray() method, but the conversion to a BigInteger-like object could be handled by Math::BigInt. You could then use standard algorithms for dividing an integer into bytes, I suppose.

<-radiant.matrix->
A collection of thoughts and links from the minds of geeks
The Code that can be seen is not the true Code
I haven't found a problem yet that can't be solved by a well-placed trebuchet