If you need to use double quotes, you can say:

        print "somebody\@somewhere.com"

but if you're not using any other escape sequences or variables, then just use single 
quotes:

        print '[EMAIL PROTECTED]'

Single quotes force perl to take the string as it is instead of trying to insert the 
array '@somewhere' into the string.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 3:10 PM
To: [EMAIL PROTECTED]
Subject: escape sequence for @


How do I print an e-mail address to a file.  For example, [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to