On 18/02/2008, John Peacock via RT <bug-MIME-Lite@rt.cpan.org> wrote:
Show quoted text>
> Queue: MIME-Lite
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=31245 >
>
> demerphq via RT wrote:
> > FWIW. This patchmakes more sense to me than Johns did.
>
> Agreed. My patch was more intended to be a short-term fix for my own needs,
> rather than something to apply to the base package.
>
> > Im also thinking that maybe the $SENDMAIL var should be changed to a
> > global and then checked for definedness and if it is defined left
> > alone. Then you can just do
> >
> > BEGIN {$MIME::Lite::SENDMAIL=''; }
> > use MIME::Lite;
>
> This, on the other hand, is bad. I shouldn't have to poke stuff into some other
> package's namespace just to get it to work. I should only have to call:
>
> use MIME::Lite;
>
> and go on my merry way. If I try and use a method which requires sendmail, but
> I don't have any sendmail binary in my path, then and only then should the
> module die with an appropriate error.
I agree. Although, well, only sortof. The idea of MIME::Lite is that
it is drop and go and works more or less properly out of the box on
the standard env. Meaning it should autodetect the right way to
function.
So the question I have, is sendmail just dated and not longer
something we should expect *nixy users to have? Or is the issue more
that when we run in a non-standard env that we should be more polite?
Bear in mind im a windows user mostly (well not anymore, but i have no
*nixy mail experience) so dont know about the changing *nixy setups.
To go further, i was thinking that warning on a nix box if it cant
find sendmail unless some kind of guard is set up....
But TBH rjbs is the main maintainer now so the final call is his. Im
just an interested commentator.
Yves
--
perl -Mre=debug -e "/just|another|perl|hacker/"