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'; $host = $xtra if (length $xtra > 0); Can anyone see any holes in this code? Marc -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/