Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am using use Mail::Sendmail; in my local Perl 5.8 script on Windows 2000 to send emails. The emails work great and are sent to my Outlook 2003 email.
Now I want to move the script up to a Windows 2000 Server but not sure if the Mail::Sendmail module is located on the server. To check if it is on the server does the Admin need to look in the C:\Perl\site\lib\Mail on the Web server?
What is the best way to find if the module is there?
If it says nothing, the module is in the INC path. Otherwise, it will loudly complain "Can't locate Y.pm in @INC (@INC contains:..." the rest of the message is a list of directories where it looked for the module, but did not find it.
Warning: I don't work on windows, but I think this works there too.