# Backup existing index.html file and then edit it my $edit = "perl -pi.bak -e 's/Old Spotlight/Product Spotlight/' /var/www/html/acs/new/index.html"; system ($edit);