You may want to change this line: > print LOGFILE "failed to connect to $remote_host\n"
to the following: print LOGFILE "failed to connect to $remote_host: [EMAIL PROTECTED]" ...and it will print the reason why it could not connect as well. Steve -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/