Don't ask to ask, just ask | |
PerlMonks |
Re: email address as usernameby LanX (Saint) |
on Oct 17, 2018 at 16:23 UTC ( [id://1224173]=note: print w/replies, xml ) | Need Help?? |
> it is throwing an error. which error? > $user = 'first.last@somewhere.com'; that's fine. You most likely did use double quotes instead $user = "first.last@somewhere.com"; which will try to interpolate the array @somewhere. But this is just a guess since you didn't give us details
Cheers Rolf
updatecompare https://perlmaven.com/quoted-interpolated-and-escaped-strings-in-perl
In Section
Seekers of Perl Wisdom
|
|