chomp( my @hosts = <>); die "usage: foo hosts\n" unless @hosts;