Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: How to access the contents of a specific memory address?

by Marshall (Prior)
on Jul 30, 2012 at 08:00 UTC ( #984382=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to access the contents of a specific memory address?
in thread How to access the contents of a specific memory address?

Ok. My effort failed. My intent was not to be "dicky" whatever that means. So what is the best practical "how to" answer for the OP?


Comment on Re^3: How to access the contents of a specific memory address?
Re^4: How to access the contents of a specific memory address?
by BrowserUk (Pope) on Jul 30, 2012 at 13:29 UTC
    So what is the best practical "how to" answer for the OP?

    bulk88 has already given that answer in How to access the contents of a specific memory address?.

    The long and short of which is that: it is possible to obtain access to raw address values of the PV component of Perl scalars using pack 'p' & 'P'; but there is not much that you can usefully do with them once obtained. Any attempt to manipulate pointers obtained that way -- beyond reading the contents of the memory the point at -- will simply segfault.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984382]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2014-07-22 20:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (127 votes), past polls