in reply to Bug: Attempt to free unreferenced scalar: SV

This is not the proper place to report a bug. See perlbug.

That said, they'll probably tell you that it's been fixed in 5.10.0. I can reproduce it with 5.8.8, but not in 5.10.0.

Unrelated, the "o" modifier is useless if you don't do interpolation, and it's quite silly to use on qr//. You're just asking for trouble by using it.

Replies are listed 'Best First'.
Re^2: Bug: Attempt to free unreferenced scalar: SV
by Smitty (Beadle) on Jun 21, 2008 at 22:09 UTC
    >> Unrelated, the "o" modifier is useless if you don't do interpolation, and it's quite silly to use on qr//. You're just asking for trouble by using it.

    Understood. These are being migrated from a long if/elsif chain. The qr was just added, and I hadn't take off the /o. This stupid bug took me some time to work out. The code comes from a file with a fair number of RE's that do include variable interpolation; adding /o on all patterns was for my convenience at detecting patterns with interpolation that *didn't* use the o option.

      I've reported this as bug 56202: http://rt.perl.org/rt3/Public/Bug/Display.html?id=56202
Re^2: Bug: Attempt to free unreferenced scalar: SV
by Smitty (Beadle) on Jun 21, 2008 at 21:59 UTC
    Thanks. Bug submitted.