Re: Mail::Sender with SSL

2012-08-08 Thread Thomas Dean
On Tue, 2012-08-07 at 10:05 -0400, Chris Nehren wrote: On Tue, Aug 07, 2012 at 17:38:57 + , Thomas Dean wrote: Hi there, I have succeeded in sending mail to my SMTP server with Mail::Sender without SSL. But now I'm wondering how to do that with SSL, for example, GMail. After

Mail::Sender with SSL

2012-08-07 Thread Thomas Dean
Hi there, I have succeeded in sending mail to my SMTP server with Mail::Sender without SSL. But now I'm wondering how to do that with SSL, for example, GMail. After reading the doc, I set TLS_required to 1 when I'm calling Mail::Sender-new, but nohing works. I tried to debug the program but found

When are brackets necessary?

2012-08-05 Thread Thomas Dean
Hi there, Under 'use strict;', when can I omit the bracket and just write something like sub1; instead of sub1(); and when cannot? Thomas -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

How to get the file handle of a scalar

2012-07-30 Thread Thomas Dean
Hi there, I'm wondering how to get the file handle or a reference of a file object of a scalar in which stores a string. Thanks, Thomas -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/