公式の説明
The value is serialized as an 8-byte binary integer in big-endian order, not a decimal string. If existing value is not 8-byte, this method fails.
10進数に戻す
hex(unpack("H*", $value));
以上終了
参考
http://mikeneko.creator.club.ne.jp/~lab/perl/numerical_transform/