This is forward-compatible:
use Inline C => <<'__EOS__'; void force_ordinary_string(SV *sv) { SvPV_force(sv); } __EOS__ force_ordinary_string($$buf);
In reply to Re: Concatenation with empty string -- good enough to force physical copy?
by ikegami
in thread Concatenation with empty string -- good enough to force physical copy?
by vr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |