but because the SvUVs are aliased for SvRVs, it also assumes that the value in the SvUV is an SV* and clones that also.
If Perl assume all UVs were really pointers to SVs, it would crash left and right. Either the scalar is a reference (ROK) or a UV (IOK + IsUV). What you describe will only happen for the former. I didn't suggest using a reference.
In reply to Re^5: semi-panic: attempt to dup freed string?
by ikegami
in thread semi-panic: attempt to dup freed string?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |