n_a contains the length of the string (as you probably guessed). See perlapi.STRLEN n_a; char *thing = (char *)SvPV(SV_pointer, n_a);
In reply to Re: how can i get char * from SV*
by cdarke
in thread how can i get char * from SV*
by anilkumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |