LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Munzilla Date: Wed May 14 10:02:54 2008 Subject: Re: newbie question - handling email addresses
Great, thanks. I had hoped that was the case. On May 14, 11:33 am, nore...@gunnar.cc (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 string needs to be escaped, or else Perl tries to interpret it as > the start of an array variable. > > As regards data from a form submission, the '@' character does not need > any special treatment. > > -- > Gunnar Hjalmarsson > Email:http://www.gunnar.cc/cgi-bin/contact.pl
| Navigate in group perl.beginners at sever nntp.perl.org | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |