in reply to Sending email with Net::SMTP

Hi there,

I'm not sure, but the following code, using your hash, gives this:

my @addresses = map($option_to_address{$_},grep($option_to_address{$_} +, ('user1@domain.com', 'user3@domain.com'))); print "[[[@addresses]]]\n"; # prints => [[[]]]

I'd review that grep(), the mapping doens't seem to be working...

good luck,

--
our $Perl6 is Fantastic;