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
Download (untitled) / with headers
text/plain 283b
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.
Download (untitled) / with headers
text/plain 199b
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>
Download (untitled) / with headers
text/plain 300b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.