in reply to Reading memory of a different process

Yes, it is possible, but you do not want to do that.

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