Backslash it in cases of double-quotish interpolation.
my $mailaddy = "collaborate_logs\@ex.sdd.hp.com";
The example you gave, though--single quotes--doesn't require
backslashes, because the @ is not interpolated. So you
shouldn't be having a problem there. You would, however,
have a problem in double-quotes and backticks.
If you're interested in learning more about this, read
Mark-Jason Dominus's article
What's That Mean?. | [reply] [d/l] |
The proxy here is choking, but I'll try that site later. It looks like it's choking later, actually in this sub-
sub mailerror { system (" $scriptloc\\blat $scriptloc\\errormsg.txt -t 'jdoscher@nonhp.ex.sdd.hp.com' -s ERROR") ; exit }
any ideas?
| [reply] |
Ah, well in this case you'll want to backslash your @,
because it *is* within double quotes (the quoted string
you're handing to system). So add the backslash, see if
that does it.
| [reply] |
| [reply] |