Correctly check whether an SV is a reference
Introduce the macro gperl_sv_is_ref and use it in favor of bare SvROK. The former calls gperl_sv_is_defined and thus invokes "get magic" before using SvROK. This ensures that "magic" things (like tied variables) are handled correctly.
parent
b858c620
Please register or sign in to comment