$string = unpack "p", pack "i", $pointer;
if $pointer is a pointer to a cstring, represented as integer, then $string should contain the data.
And if it's not, enjoy the core dump ;-)
In reply to Re: Re: Re: Pointer to null terminated string
by xmath
in thread Pointer to null terminated string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |