> -----Original Message----- > From: Bruce Ambraal [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 01, 2002 5:53 AM > To: [EMAIL PROTECTED] > Subject: mail::Sendmail::error > > > Hi all > > What am I doing wrong. > > error.log; > [Tue Oct 01 11:09:10 2002] [error] [client 165.25.207.246] [Tue Oct 1 > 11:09:09 2002] c:\PROGRA~1\APACHE~1\apache\cgi-bin\start_n2.pl: Name > "mail::Sendmail::error" used only once: possible typo at > c:\PROGRA~1\APACHE~1\apache\cgi-bin\start_n2.pl line 26.
You didn't capitalize the leading "M" in "Mail::Sendmail" on that line. This is one area where "use strict" doesn't complain, since it assumes when you fully-qualify a symbol, you know what you want to do. Fortunately, -w caught the problem. > > The code is: [snip] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]