more useful options | |
PerlMonks |
Re: Are lvalue methods (as properties) a good idea?by fletcher_the_dog (Friar) |
on Jan 14, 2005 at 15:33 UTC ( [id://422272]=note: print w/replies, xml ) | Need Help?? |
My biggest problem with lvalue subs is that they break in the debugger. Subs are intercepted in the debugger by a sub called DB::sub that is not an lvalue sub. So you get weird bugs when a program with lvalue subs that normally works fine is run through a the perl debugger, because values stop getting assigned in the lvalue subs
In Section
Seekers of Perl Wisdom
|
|