http://www.perlmonks.org?node_id=800294


in reply to De-Reference an array

I guess you think that your array references are some kind of pointers to memory locations, and you want to access that memory structures from another program.

Even if you could pass that memory addresses to the second program, I'm not sure you'll succeed, I think that OS will prevent that.

Off-Topic: I remember doing something like that successfully on an old multiuser machine years ago. I forced a logout of another user by clearing he's assigned memory area using Pascal.  >:-)

Replies are listed 'Best First'.
Re^2: De-Reference an array
by BioLion (Curate) on Oct 09, 2009 at 15:33 UTC

    Shaing memory could be done by using IPC::Shareable and passing the assigned '$glue' to the 'print.pl' (or whatever) script.

    Just a something something...