newbie question - handling email addresses

2008-05-14 Thread Munzilla
Hi, I'm 100% new to Perl but I've been given a project with it anyway, so I have some pretty basic questions. The script is used to process a form submitted in PHP. I have it working fine, but I need to add an email address field now. i was told that Perl doesn't like the @ character (which

Re: newbie question - handling email addresses

2008-05-14 Thread Gunnar Hjalmarsson
Munzilla wrote: i was told that Perl doesn't like the @ character Then you were told wrong. What you need to take into account is that the '@' character in a double quoted string needs to be escaped, or else Perl tries to interpret it as the start of an array variable. As regards data

Re: newbie question - handling email addresses

2008-05-14 Thread Munzilla
Great, thanks. I had hoped that was the case. On May 14, 11:33 am, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote: Munzilla wrote: i was told that Perl doesn't like the @ character Then you were told wrong. What you need to take into account is that the '@' character in a double quoted