Dear all:
below is what I excerpt form "perl cook book".
What does <<"EOF" mean at the end of print?
thanks for your help,
miloody

open(SENDMAIL, "|/usr/sbin/sendmail -oi -t -odq")
or die "Can't fork for sendmail: $!\n";
print SENDMAIL <<"EOF";
From: Tom Christiansen <[EMAIL PROTECTED]>
To: Nathan Torkington <[EMAIL PROTECTED]>
Subject: Re: The Perl Cookbook
(1) We will never finish the book.
(2) No man who uses EMACS is deserving of love.
(3) I recommend coq au vi.
tom
EOF
close(SENDMAIL);

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to