Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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.

<rant>
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..
</rant>

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2020-05-25 12:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (145 votes). Check out past polls.

    Notices?