Subject: | POD bugs |
http://search.cpan.org/~rjbs/Email-Send-2.185/lib/Email/Send.pm#Writing_Mailers
Show quoted text
> Here's an example of a mailer that sends email to a URL.
>
> package Email::Send::HTTP::Post;
> use strict;
...
Show quoted text> sub send {
> my ($class, $message, @args);
That last line is missing a "= @_".
Also, the documentation for send should more explicitly define what the
return value is. I had to dig into the source to see that it is a
Return::Value object typically, but I believe it actually is just
passing on the value of the mailer plug-in, yet the documentation on
writing mailers also doesn't specify what they should return (though the
examples clearly show Return::Value objects.
-Tom