By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,852 Members | 2,200 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,852 IT Pros & Developers. It's quick & easy.

search string not working

P: 1
I am trying to replace an email address across 100+ website files using the following perl statement -

$line =~ s/abcdefgh@verizon.net/xxxxxxxx9@mypov.org/g, $line;

The script is not recognizing the search string and so is not modifying the emaill address in each file. I have used this statement with another email address and it worked just fine. Any suggestions?
Nov 11 '08 #1
Share this Question
Share on Google+
1 Reply


KevinADC
Expert 2.5K+
P: 4,059
Expand|Select|Wrap|Line Numbers
  1. $line =~ s/abcdefgh\@verizon\.net/xxxxxxxx9\@mypov.org/g, $line;
Nov 11 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.