Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Strings with @by bravenmd (Sexton) |
on Mar 10, 2006 at 20:35 UTC ( [id://535811]=note: print w/replies, xml ) | Need Help?? |
First thing you need is some kind of quoting around the email address. Then depending on which quoting system you use you may need to escape the @ character. Perl is mistaking the '@bigcorporation' for an array. You can try either: 'some.g.guy@bigcorporation.com', q~some.g.guy@bigcorporation.com~, q{some.g.guy@bigcorporation.com}, "some.g.guy\@bigcorporation.com", etc. all of which should work Hope this helps!
In Section
Seekers of Perl Wisdom
|
|