There's more than one way to do things | |
PerlMonks |
Re^4: -pi -e argv repeaterby OfficeLinebacker (Chaplain) |
on Feb 04, 2007 at 17:13 UTC ( [id://598200]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|