Skip Menu |

This queue is for tickets about the MailTools CPAN distribution.

Report information
The Basics
Id: 5510
Status: resolved
Priority: 0/
Queue: MailTools

People
Owner: Nobody in particular
Requestors: cubic [...] acronis.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 1.60
Fixed in: (no value)



Subject: Small glitch in error codepath
Mail::Mailer sub new { my($class, $type, @args) = @_; $type = $MailerType unless $type; croak "Mailer '$type' not known, please specify correct type" unless $type; ^^^^^^^^ my $exe = $Mailers{$type}; This code trigger error only if $type isn't true.
The problem here is that types which are not know yet, are autoloaded in the second half of the subroutine. Therefore, the error message text is a mistake: it should read: "No MailerType specified".
From: "Ruslan U. Zakirov" <cubic [...] acronis.com>
Yeh, I hope it would be fixed in upcoming releases. [MARKOV - Wed Mar 10 04:18:26 2004]: Show quoted text
> The problem here is that types which are not know yet, are autoloaded > in > the second half of the subroutine. Therefore, the error message text > is > a mistake: it should read: "No MailerType specified".
The error message has been improved. That's all what I can offer you, I think.