in reply to Re^2: using the Mailer / sendmail perl module...
in thread using the Mailer / sendmail perl module...

I should have been able to see it anyway then.

my $lambda = sub { print "lol!\n" }; $lambda->(); # will work my $mailer = Object::Name->new(); $mailer->(); # will not work

I think you need to call a method name there ($mailer->send() for example), rather than invoking the blessed reference as a code reference -- which clearly doesn't work.

-Paul