2013/8/15 Brian Fraser <frase...@gmail.com>: > On Wed, Aug 14, 2013 at 6:09 PM, Alexey Mishustin <shum...@shumkar.ru>
>> I'm sorry only that there is no built-in option with which one could >> enable/disable easily assignments inside `if'. (E.g., like re 'eval'/ >> no re 'eval'). It would "provide choices"... >> > > It might not be too hard to implement that, actually. What follows is NOT a > topic for the beginners list, but feel free to nag perl5-porters about it if > you want to learn about the internals :D You "just" need to detect if > there's a LOGOP where op_type is OP_COND_EXPR and the condition is one of > the assign ops. OP_SASSIGN, or something similar (as I could understand the google results)? Thanks. I will consider this possibility. -- Regards, Alex -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/