Re: Problem with unless statement

2012-04-28 Thread Lesley Binks
On Sat, Apr 28, 2012 at 08:00:09AM -0700, sono...@fannullone.us wrote: > Shawn, > > > are you sure this is what you want? > > I'm not sure of anything anymore. ;) > > I found something that sets $host properly: > > my $xtra = 'mail.example.com'; > my $host = 'localhost'; > That's a

Re: Problem with unless statement

2012-04-28 Thread Lesley Binks
On Sat, Apr 28, 2012 at 07:16:18AM -0700, sono...@fannullone.us wrote: > I'm having a problem with the following code: > > #!/usr/bin/perl > use strict; > use warnings; > > my $xtra = 'mail.example.com'; > > my $host = 'localhost' unless (defined ($xtra)); > > print $host; > > I ge

Re: PERL CGI, HTML and PHP

2012-04-26 Thread Lesley Binks
On Thu, Apr 26, 2012 at 08:32:29AM -0400, Mark Haney wrote: > On 04/26/2012 07:22 AM, Michael Rasmussen wrote: > > > > >Again, you haven't described why Perl can't create the same HTML the PHP > >does. > > > > > > > > Obviously, I didn't explain myself quite well enough. Let me try > again. I'

Re: Net::SMTP

2012-04-26 Thread Lesley Binks
On Tue, Apr 24, 2012 at 03:59:27PM -0700, Michael Rasmussen wrote: > On 2012-04-24 13:17, Somu wrote: > >Ok.. Thanks for the info on gmail. > >But is there any way to find out such information for other hosts? > >Like I have an account at https://ems.sbi.co.in so again how do i > >do for > >that? >