in reply to Hand referance

Perl is definitely the wrong language to play around with this kind of thing. OTOH if you want to proceed, there are two ways to go.

The first is to install Inline and proceed from there. The second is to use unpack with "P" to get at what is in a particular spot in the memory of your current process. You should not be able to get at the memory of other processes this way.

If you are on a *nix system and have root access you can play around with /dev/mem to find what memory looks like. Of course if you wanted a good seed for random numbers, you are better off either trusting Perl to do a good job, or using something like Math::Random.