#!/usr/bin/perl -w open (IN, ") { chomp; system("telnet $_"); ### get return status here?? }