in reply to
Re^3: -pi -e argv repeater
in thread -pi -e argv repeater
Ikegami,
I see you disagree with Damian Conway (as expressed in Perl Best Practices--pp 194-196 for those of you following from home). I wish I understood better the exact thought processes behind each of your approaches.
Either way, yes, $^I is the way to go (or, if you really want to be a Boy Scout about it, use English, only without the evil regexp vars, and use $INPLACE_EDIT in place of $^I).
I like computer programming because it's like Legos for the mind.