$a = "foo\000bar"; # embedded null! length($a) == 7; # no terminal null
char *p; SV *s; STRLEN len; p = SvPV(s, len);
|
< String Length Hack 2 Functions for Perl Strings > Table of Contents | Page 33 |
YAPC 19101,
June 2001 Perl 5 Internals Simon Cozens |