tie @ThisFile, 'Tie::File', 'c:/index.html'; foreach(@ThisFile) {s/$SearchText/$ReplaceText/g}; untie @ThisFile;
In reply to Re: find and replace
by goober99
in thread find and replace
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |