On Mon, 21 Jan 2002, Daniel Shane wrote: > I made a more simple version by storing the pointer in an integer. But it is > no longer possible to do print $packet... (it just prints the pointer...)
Have you considered blessing the SV thus created and either providing an XS method that returns a string SV copied from the pointer (eg: $xs_thing->data()), or even TIEing to a package which does this for you when you read the value in perl? -- Vivek
