in reply to Re^4: Converting Hexadecimal to Decimal notation and vice-versa
in thread Converting Hexadecimal to Decimal notation and vice-versa

You have to call the method on an already existing object instance, for example:

print Math::BigInt->new("55551819334000000000666")->as_hex(), "\n";