Pablo Fischer wrote at Mon, 25 Aug 2003 23:51:47 +0000:
> I was in a final test of my script and well it fails :-), however I found that
> it fails in the form that Im creating the 'mail sender' object.
>
> If I do this:
> smtp => '$this->{SMTP_SERVER}' (single quotes for elements)
>
> I get this error when Closing the message:
> Can't call method "Open" without a package or object reference at DemoMail.pm
> line 218. (I have the $sender->Open in line 218)
>
> However, If I do this:
>
> smtp => "$this->{SMTP_SERVER}" (double quotes for elements)
I'm not sure what's going on,
but mainly I don't understand why you you quote at all.
What about the simple
smtp => $this->{SMTP_SERVER}
Greetings,
Janek
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]