> "Unless otherwise stated all methods return either a *true* or *false*
> value, with *true* meaning that the operation was a success."
> 
> So sayeth the perldocs, but where is information about the error? 
With docs
> like this do you assume it's ${!}, or could it be that other thing (I
think I
> saw something like $^E on this list - what is that?), or some package
variable?
> 

Remember this is open source so you are free to check for yourself.
Net::SMTP inherits from Net::Cmd.  Which means you can check the error
message, code, or status from the object itself through the inherited
methods, 'message', 'code', 'status'.

perldoc Net::Cmd for more

This is generally for methods that are causing some network interaction.
For other methods most likely catching an error is for an obvious
reason, if you have a question about a particular method check the
source or ask for that specific method and one of the gurus will check
what it can return...

http://danconia.org

p.s. I am not entirely sure whether no one is replying, the list is
slow, or my e-mail is busted, so if this is the 43rd reply to this post
sorry for the noise...

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to