Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: De-Reference an array

by vitoco (Friar)
on Oct 09, 2009 at 14:47 UTC ( #800294=note: print w/replies, xml ) Need Help??


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...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://800294]
help
Chatterbox?
[stevieb]: Corion++
[jedikaiti]: RonW++ #I have so much accumulated in my memory that finding the right item at a given moment often fails
[LanX]: corion only > 800 lines
[stevieb]: ahhh you're talking about the actual Makefile, not the PP Makefile.PL
[Corion]: LanX: But most of that is just setup of variables to be used later, like CC , LIB etc.
[LanX]: yes and some builders try to avoid it
[RonW]: :)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-08-18 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (310 votes). Check out past polls.

    Notices?