in reply to lvalue and perl debug

I have a tentative rule-of-thumb that if something breaks the debugger, it should probably be avoided. It's one of the warning signs that you're being too clever.

Replies are listed 'Best First'.
Re^2: lvalue and perl debug
by deepfryed (Novice) on Dec 10, 2007 at 08:45 UTC
    lvalue subs are experimental and have been since what 5.006 ? perltodo does say lvalue subs don't work in debugger since DB::sub ignores attributes and would be good to fix (fix debugger i.e.) I am wondering if anyone has found a workaround, I am still in favor of using lvalue subs, as it's syntactically more elegant.
      this is already reported in perl bug #7013
      http://rt.perl.org/rt3/Public/Bug/Display.html?id=7013
      
      I am patching pp_hot.c, perl5db.pl. Stuff like dprof will need fixing too.