Help for this page

Select Code to Download


  1. or download this
    SV *
    GetAsPointer( format )
    ...
        }
    OUTPUT:
        RETVAL
    
  2. or download this
        my $ptr= GetAsPointer(13);
        my $len= 0;
    ...
            $len += 2; # (update)
            $head= unpack "P$len", $ptr;
        } until(  "\0\0" eq substr($head,-2)  );