in reply to I need to prevent Perl from interpreting Strings
$email = "name@location.ext";
And only then you're inserting the contents of $email in the database. If so, @location will be interpreted, yes.
Ways to work around this:
The first one escapes the "@" sign, while the second one prevents variables from being interpreted inside the string.
The third one is just a proof that there is always another way... :-)
HTH
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: I need to prevent Perl from interpreting Strings
by renz (Scribe) on Feb 10, 2005 at 17:36 UTC |