in reply to base64 and hex question
pack/unpack does translations into UUENCODE codes, which are think are closed, but not identical to BASE64. printf/sprintf with a format of "%x" (or "%X") will output hexadecimal codes.
I think your best bet would be to transfer both to integers (using the "hex" function for hex-to-integer convesrion) and compare the (bignum) integers.
|
---|
In Section
Seekers of Perl Wisdom