<div class="gmail_quote">I'm looking closer and yes, my example was wrong,<br>I was actually using () instead of [], but the<br>target has its additional indirection too.<br>refer to the corrections below:<br><br>my $host = shift;<br>
my $hosts = [ $host ];<br>
foreach $h (@{$hosts}) { ... }<br><br>and I'm actually calling it with:<br><br>
@list = ('<a href="http://1.2.3.4/" target="_blank">1.2.3.4</a>', '<a href="http://2.3.4.5/" target="_blank">2.3.4.5</a>');<br>Net::SMTP->new(\@list, ...);<br><br><br></div>