http://qs1969.pair.com?node_id=1222734

TonyNY has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I'm trying to replace strings in a text file but cannot get it to work using the following code:

system("sed -i -e 's/The action failed./failed_build/g' $lookuptxtfile +");

Any help modifying this code or using a better way to accomplish this would be greatly appreciated.