Re: FormMail.pl: A tiny case in point
[email protected] (Rich Bowen) Mon, 13 Dec 1999 22:15:08 -0500
| Newsgroups | perl.scripts |
|---|---|
| Organization | RCBowen.com |
| Message-ID | <[email protected]> |
Elaine -HFB- Ashton wrote: > > Rich Bowen [[email protected]] quoth: > *> > *>Not to pick nits, but ... > *> > *>C:\>perl -e "print scalar localtime" > *>Mon Dec 13 21:55:46 1999 > > cool...I haven't touched win32 in a looonnnggg time and just assumed it > would be broken. :) In recent days, Perl on Win32 has become less distinguishable from Perl elsewhere. Short of calling system utilities like date and sendmail, almost everything works as is. Activestate has done a great job of ensuring this portability. > > Does the rest of his stuff run on wintel? If so, my fear just > exponentially rose. Yes and no. FormMail.pl, out of the box, requires sendmail to send mail. There is, however, a version of it floating around that sends mail on NT. However, instead of using Mail::Sendmail, or some other CPAN module, it uses a monstrosity called "blat", which can email a file to an address. Thus, the data has to be written out to a file, and then you call blat on that file. Ick. Others of Matt's scripts work to a greater or lesser degree on Win32. All of them either work, or someone has written a modified version that works. Rich -- http://www.ApacheUnleashed.com/ Lexington Perl Mongers - http://lexington.pm.org/ PGP Key - http://www.rcbowen.com/pgp.txt