in reply to Why doesn't Perl find my heredoc terminator?

Your problem will be that the heredoc closing token 'EOF' need to be on a line by itself with no leading or trailing space. ie

print SENDMAIL <<"EOF"; [blah] EOF

You can also use the qq operator like this:

print SENDMAIL qq! [blech] !; close(SENDMAIL) or warn "sendmail didn't close nicely";

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
Re^2: Perl Error
by Anonymous Monk on Jul 07, 2004 at 18:30 UTC
    Thank you tachyon. This solve my problem. Thank you very much