Re: Send mail using SSL

2010-01-11 Thread Gurunandan R. Bhat
Use Email::Sender::Transport::SMTP > a > I want to send mail using ssl with smtp server. Does Mail::Sender support > SSL? Or must I use Net::Smtp::SSL ? > > Regards, > Thomas. > >

Send mail using SSL

2010-01-11 Thread Thomas Yan
Hi, I want to send mail using ssl with smtp server. Does Mail::Sender support SSL? Or must I use Net::Smtp::SSL ? Regards, Thomas. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: How to make skip an input parameter.

2010-01-11 Thread Steve Bertrand
Parag Kalra wrote: > use strict; > use warnings; The above should *always* be present in *every* Perl script, even when you think you are writing a script to test something only once. > use Getopt::Long; > > my ( $name, $passion, $age); > > my $result = GetOptions( >'name|n=s'

Re: How to make skip an input parameter.

2010-01-11 Thread Parag Kalra
Thank you folks. This is more than what I wanted. Here is my version of the same : ;) use strict; use warnings; use Getopt::Long; my ( $name, $passion, $age); my $result = GetOptions( 'name|n=s' => \$name, 'passion|p=s' => \$passion, 'age|a=i' => \$

Re: How to make skip an input parameter.

2010-01-11 Thread Steve Bertrand
Owen wrote: >> Hello All, >> >> This is surely a beginner's question and may even sound silly. :) >> >> How do you make a Perl script skip an input parameter if it is not >> present. >> Let me explain it through an example. >> >> EG: >> #!/usr/bin/perl >> use strict; >> use warnings; >> no warnings