dbdiaz has asked for the wisdom of the Perl Monks concerning the following question:
say, I have a string variable:
I need to find "@" and replace it with "\@".$email = "dummy@dumdum.com";
So, I really want:
How do I do that?!$email = "dummy\@dumdum.com";
TIA Monks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I find "@" in a string variable?
by davido (Cardinal) on Dec 06, 2006 at 07:11 UTC | |
by dbdiaz (Novice) on Dec 06, 2006 at 07:23 UTC | |
|
Re: How do I find "@" in a string variable?
by chromatic (Archbishop) on Dec 06, 2006 at 07:10 UTC | |
|
Re: How do I find "@" in a string variable?
by holli (Abbot) on Dec 06, 2006 at 07:31 UTC | |
|
Re: How do I find "@" in a string variable?
by madbombX (Hermit) on Dec 06, 2006 at 17:32 UTC | |
by fmerges (Chaplain) on Dec 06, 2006 at 20:56 UTC |