in reply to Re: Re: Pointer to null terminated string
in thread Pointer to null terminated string

Here you go:

$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 ;-)