Well, you _can _ do this
$var=<<"END";
This is my variable's
multiline text,
complete tith tabs\t\t and extra newline\n\n, etc
END
four spaces in the opening and closing quote. I usually use qq{ }
depending on how much I care about whitespace formatting.
I know you've received other responses, but I'm doing a good bit of
this lately.
> sub sendEmail {
> open (Sendmail, "|/usr/lib/sendmail -oi -t ")
> or die "Can't fork for sendmail: $!\n";
> print Sendmail <<"EOF";
> From: Bugs
> To: amy
> Subject
. | _| |
\|| _.-~-._.-~-._.-~-._@" _|\_|___|___|
> -Original Message-
> From: amy [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 12, 2000 15:55
> To: [EMAIL PROTECTED]
> Subject: sendMail in cgi program
>
>
> if I run the same procedure on a separate file,
> email works, once I put the proc in the cgi
&
if I run the same procedure on a separate file,
email works, once I put the proc in the cgi
file, I got the following error.
in error_log :
Can't find string terminator "EOF" anywhere before EOF at
/usr/local/bin/apache/cgi-bin/lib.pl line 484.
sub sendEmail {
open (Sendmail, "|/usr/lib