sierpinski has asked for the wisdom of the Perl Monks concerning the following question:
open(MAIL, "|mail $EMAIL"); print MAIL "To: $EMAIL\n"; print MAIL "From: $FROM\n"; print MAIL "Subject: $MAILSUB\n"; print MAIL "Content-Type: text/plain; charset=\"iso-8859-1\""; open(MESSAGE, "<", "$TMPFILE") or die "$!"; print MAIL <MESSAGE>; close MESSAGE; close MAIL;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File I/O question
by afoken (Chancellor) on Jul 07, 2009 at 16:48 UTC | |
by ikegami (Patriarch) on Jul 07, 2009 at 17:31 UTC | |
by sierpinski (Chaplain) on Jul 07, 2009 at 17:14 UTC | |
by hnd (Scribe) on Jul 08, 2009 at 11:06 UTC | |
|
Re: File I/O question
by cbraga (Pilgrim) on Jul 07, 2009 at 18:03 UTC |