There's more than one way to do things | |
PerlMonks |
Re^3: how to search and replace some text in a .conf fileby punch_card_don (Curate) |
on May 18, 2009 at 18:45 UTC ( [id://764702]=note: print w/replies, xml ) | Need Help?? |
If I'm not mistaken, the +> operator in your OPEN opens the file for reading & writing, creating it if it doesn't yet exist, but truncating it if it already exists.
In Section
Seekers of Perl Wisdom
|
|