[ale] perl question with email addresses

Jim Kinney jim.kinney at gmail.com
Wed Nov 26 09:02:30 EST 2008


$foo =~ s/\@/\\\@/;

On Wed, Nov 26, 2008 at 8:39 AM, Geoffrey <lists at serioustechnology.com>wrote:

> I know that when you specify an email address in perl you have to escape
> the @ as in:
>
> $email = "who\@where.com";
>
> My problem is, I've got a cgi perl script that is being passed an email
> address of the form:  "who at where.com"
>
> For the life of me, I can't figure out how to convert this to
> "who\@where.com"
>
> Fletch where are you buddy??? :)
>
> Any help will be greatly appreciated.
>
> --
> Until later, Geoffrey
>
> Those who would give up essential Liberty, to purchase a little
> temporary Safety, deserve neither Liberty nor Safety.
>  - Benjamin Franklin
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>



-- 
-- 
James P. Kinney III
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20081126/6701f9a6/attachment.html 


More information about the Ale mailing list