'\&$x' triggers double get magic when $x is just a scalar because of : - the SvGETMAGIC in sv_2cv ; - the SvPV_const in gv_fetchsv. This patch moves the SvGETMAGIC into the two branches where gv_fetchsv isn't called. This fixes the problem. Tested ok against 33623. Actually, get magic also fires when it's not possible to create a sub of name $x, because we call SvPV when building the croak message. This isn't fixed by this patch. More generally, I'm wondering if magic actually has to be triggered when assembling error messages. Vincent.Thread Next