in reply to Re^3: How to access the contents of a specific memory address?
in thread How to access the contents of a specific memory address?
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.
|
|---|