Re: Net::SMTP and a hash of arrays

2005-09-02 Thread Gretar M Hreggvidsson
Hi Ryan! (My MTA is playing with me, so if you are receiving this for the second time I'm deeply sorry!) Do yourself a big favor and use warnings and strict: #!/usr/bin/perl -w use strict; If you had done that you would immediately have spotted the problem, which was a missing dol

Re: Net::SMTP and a hash of arrays

2005-09-02 Thread Gretar M Hreggvidsson
Hi Ryan! Do yourself a big favor and use warnings and strict: #!/usr/bin/perl -w use strict; If you had done that you would immediately have spotted the problem, which was a missing dollar sign for the rcpts element in the line: > $email->recipient(@{ rcpts{$server} }); Shoul

Re: Net::SMTP and a hash of arrays

2005-09-02 Thread Ramprasad A Padmanabhan
$email->recipient(@{ rcpts{$server} }); Thats the error IMHO TRY @{$rcpts{$server}} Ram -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]