Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: How to send email when executing PERL on Windows NT

by the_slycer (Chaplain)
on Oct 05, 2001 at 20:03 UTC ( #117030=note: print w/replies, xml ) Need Help??

in reply to How to send email when executing PERL on Windows NT

You have already been provided all of the answers that you need in order to get this done, so I am not adding anything there. This is more of a rant than anything.

One of the greatest things about perl is how incredibly cross platform it is. It is so amazingly easy to just pick up a script from a *nix machine and move it to a Windows machine with hardly a change at all. Unless of course you don't use modules. That is where this problem comes from. If you had already been using the Net::SMTP module on the *nix side, you would not have had to make a change at all to this script.

I don't understand why people consistently choose to roll their own, especially when you make a call to an external program. Sure, maybe now you don't see a need for cross platform capabilities, but at some point in the future you will. If you consistently make use of whatever module is available (especially the "standard" ones) then you will not run into these "problems" in the future..

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://117030]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2020-10-29 14:52 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (271 votes). Check out past polls.