http://www.perlmonks.org?node_id=157107


in reply to Re: Re: system( ), printing output & matching
in thread system( ), printing output & matching

open(ALLIP, "allip.list") || die "Unable to open file: allip.list\n"; while (<ALLIP>) { chomp; system("ping $_ >>pingallip.list"); }