$pointer_to_int = 0x8ffcfff; $int = unpack("i!", unpack("p4", pack("l", $p))); # DO NOT DO THIS