From: Chris Nehren Date: Sun, 4 Sep 2011 03:06:50 +0000 (-0400) Subject: fix testing for transport X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=98d1255db88dc06cdfbe6531bf67162773e3c0d6;p=p5sagit%2FPromulger.git fix testing for transport --- diff --git a/Makefile.PL b/Makefile.PL index 48e993a..323c702 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,21 +8,25 @@ all_from 'lib/Promulger.pm'; requires 'App::Cmd'; requires 'Carp'; requires 'Config::General'; -requires 'IPC::System::Simple'; -requires 'Email::MIME'; requires 'Email::Address'; +requires 'Email::MIME'; requires 'Email::Sender'; requires 'Fcntl'; +requires 'File::Slurp'; requires 'IPC::Run3'; -# requires 'Mail::Verp'; # not yet +requires 'Method::Signatures::Simple'; requires 'Moo'; requires 'Path::Class'; requires 'Tie::File'; +requires 'Try::Tiny'; +requires 'Web::Simple'; requires 'autodie'; requires 'parent'; +requires 'strictures'; install_script (qw| script/pmg + script/pmg-web script/mm2pmg |); diff --git a/lib/Promulger/Dispatch.pm b/lib/Promulger/Dispatch.pm index f6348cb..991798f 100644 --- a/lib/Promulger/Dispatch.pm +++ b/lib/Promulger/Dispatch.pm @@ -94,7 +94,7 @@ sub send_message { my ($message) = @_; my $config = Promulger::Config->config; my ($class, $transport); - if($class = $config->{transport}) { + if($class = $config->{mailer}) { if($class !~ /::/) { $class = "Email::Sender::Transport::${class}"; }