Mark Henry wrote:
> ...is the line beginning "ref ($sender ..." assignment of an anonymous
> array to a reference?
ref($sender = new Mail::Sender {
from => '[EMAIL PROTECTED]',
smtp => 'server.location.net',
boundary => 'This-is-a-mail-boundary-435427'
}) or die("Error($sender) : $Mail::Sender::Error\n");
ref()s return value is used to make sure a valid Mail::Sender object has
been instantiated. Its returned value is not assigned to anything.
see perldoc -f ref
One way to get a reference to an anonymous array is to say:
$arrayRef = [ qw(one two three four) ];
Todd W
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]