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


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.