perl -MCPAN -e shell
Convert arrays to hashes
@$hash {@array_a} = @array_b;
perl -p -i -e 's/SEARCH/REPLACE/g' FILE ls | xargs perl -pi -e 's/SEARCH/REPLACE/g' grep -lir REGEXP * | xargs perl -pi -e 's/SEARCH/REPLACE/g' perl -p -iEXT -e 's/SEARCH/REPLACE/g' cat X | perl -p -e 's/SEARCH/REPLACE/gi'
If necessary add -w to perl command.
sed -r -e 's/SEARCH/REPLACE/' sed -r -e 's#SEARCH#REPLACE#' sed -i -e 's/SEARCH1/REPLACE1/g' -e 's/SEARCH2/REPLACE2/g' FILE