Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 225
  • Last Modified:

Substituting \@ for @ in PERL

I have a simple form email program that is using blat
The input email address is in the form
me@mycompany.net
I need to change this to
me\@mycompany.net
for blat to work the code is
$Email = $input->param('Email');
$ccaddress = "$Xemail";

0
pharries
Asked:
pharries
1 Solution
 
RobWMartinCommented:
$Email=~s/\@/\\\@/;
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now