No such thing as a small change | |
PerlMonks |
Re: Mail::Internet on Win32?by BrowserUk (Patriarch) |
on Jun 27, 2003 at 15:54 UTC ( [id://269635]=note: print w/replies, xml ) | Need Help?? |
Try using Data::Dumper on the return from new(). print Dumper $mail; to see if the is anything useful in there. I took a quick look at the source, and it would appear that new() returns a valid handle regardless of whether it managed to read anything or not. In fact, from my cursory glance, I couldn't see much in the way of error handling/reporting at all, but it maybe that this is buried further down in the hierachy of modules. You'd think that you would get some indication of whether it failed to read the from file handle supplied. I couldn't see anything mentioned about what happens in the event of failure nor how to test for same? Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
In Section
Seekers of Perl Wisdom
|
|