Do you know where your variables are? | |
PerlMonks |
Re^2: in place editing a list of filesby rjsaulakh (Beadle) |
on Jan 08, 2007 at 18:39 UTC ( [id://593591]=note: print w/replies, xml ) | Need Help?? |
davidrw hats of to u sir shell-independent method: perl -i.bak -0777 -pe 's/CONFIDENTIAL(.*?)own\s+risk/ /s' `cat /home/rjs/heena/edit`you single line of code has done all the magic . just one more update i require from u , will this piece of code work fine when incorporated with another perl script
In Section
Seekers of Perl Wisdom
|
|