|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Parsing an email addressby Corion (Pope) |
| on Oct 03, 2010 at 12:34 UTC ( #863172=note: print w/ replies, xml ) | Need Help?? |
|
strict would have prevented you from making the error of writing "User@domain.com". What Perl sees is the array @domain, which is empty and thus interpolates into an empty string. You want to use single quotes:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||