To: perl5-porters@perl.org
Message-Id: <
199910010823.KAA05796@oryl.man.torun.pl>
p4raw-id: //depot/cfgperl@4269
len);>. It might work with your compiler, but it won't work for everyone.
Break this sort of statement up into separate assignments:
+ SV *s;
STRLEN len;
char * ptr;
- ptr = SvPV(len);
+ ptr = SvPV(s, len);
foo(ptr, len);
If you want to know if the scalar value is TRUE, you can use: