Do you know where your variables are? | |
PerlMonks |
Re^2: How to modify words in a line using perl onelinerby BioLion (Curate) |
on Sep 30, 2009 at 11:10 UTC ( [id://798288]=note: print w/replies, xml ) | Need Help?? |
Maybe also add in boundaries, just in case? Firstly, blast, etc... perl -ni.bak -e 's/\bfirst\b/last/g; print' one.txt
Just a something something...
In Section
Seekers of Perl Wisdom
|
|