We don't bite newbies here... much | |
PerlMonks |
Strict error on var when using Mail::SendMailby davidov0009 (Scribe) |
on Mar 22, 2007 at 04:16 UTC ( [id://605954]=perlquestion: print w/replies, xml ) | Need Help?? |
davidov0009 has asked for the wisdom of the Perl Monks concerning the following question:
This should be a relatively simple problem to fix for those of you with more wisdom. It comes from using strict. I am calling upon 2 variables created when a function is run from an module. The script is as follows:
The error states that I have only used $Mail::SendMail::error and $Mail::SendMail::log once during the script and relates this to a possible typo, ("Mail::SendMail::error" used only once: possible typo ....) when all I want to do is call the variables once, since, supposedly they have been defined since the call to the sendmail() function. How can I fix this error?
Back to
Seekers of Perl Wisdom
|
|