in reply to Mail::Mailer, strict, and From

I believe open in Mail::Mailer takes a hash ref, not a list of args. So $MTA->open(From=>$from ..., etc) should be $MTA->open({From=>$from ..., etc}). It's complaining because the first arg "From" isn't the hash ref it expects.

Replies are listed 'Best First'.
Re^2: Mail::Mailer, strict, and From
by Anonymous Monk on Jan 04, 2009 at 00:49 UTC
    Yep! Still ain't sure about that no more removing "use strict" tho.