On 10/03/2017 11:56 AM, Andy Bach wrote:
Though this seems to be heading the wrong way but - TIMTOWTDI
my @SmtpIndex =
qw[ DebugTrace smtp port username password from to Subject Text
FileName ];
my @SmtpValues = ["1", "smtps://smtp.zoho.com <http://smtp.zoho.com>",
"465", '[email protected] <mailto:[email protected]>', "NaYukYukYuk",
'[email protected] <mailto:[email protected]>', @['[email protected]
<mailto:[email protected]>','[email protected] <mailto:[email protected]>'], "Stooges",
"Certainly!", @[""] ];
my %Smtp = zip @SmtpIndex, @SmtpValues;
I guess I could imagine the values coming from a fixed order data file,
so a loop would do the zip with a split of each line but ...
Hi Andy,
I love examples!
This started out as a brain teaser. And has grown into an
excellent reference!
Thank you!
-T