in reply to Re: Re: Simple Net::SMTP question
in thread Simple Net::SMTP question

dga is right , BUT
When I pass the options as a hash, I get

Can't use string ("1") as an ARRAY ref while "strict refs" in use at /usr/local/lib/perl5/site_perl/5.6.1/Net/SMTP.pm line 278.

The code it is choking on is in the recipient sub.

if(defined ($v = delete $opt{Notify}) )

Why is this treating $opt{Notify} as an array reference? It's not. (It's set to 1)

I'm using version 2.16.
I am very perplexed at how it's coming up with this context.

-Lee

"To be civilized is to deny one's nature."