SL, There's a few problems with that there script, but to the point: try either: $mymail = '[EMAIL PROTECTED]'; or $mymail = "usr\@someplace.com";
The \ escapes the next character, ie treats it as a plain @ sign, not as the beginning of an array name. Using single quotes means that variables don't get interpolated at all, so you don't need to escape @'s or $'s. Tristan You Wrote: ---------- Hi, could someone help me?111 Iam trying to send a email with an open pipe, but i can not interpolate the '@' of the email address in the " To:" e.g. i have one variable $mymail = [EMAIL PROTECTED] the pipe open (MAIL, '/usr/bin/sendmail -oi -t) || or die bkkabakb; print MAIL << ENDMAIL; To: $mymail # this place i need tointerpolate " @someplace" , body ENDMAIL close MAIL; etc... Could someone help. Thanks, SL -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _______________________________________________________ sent via the murky.net webmail hegemony -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
