in reply to system( ), printing output & matching
Do you really mean
if ($_ eq~ m/is alive/) { $line++; last; }??
should be =~
In Section
Seekers of Perl Wisdom
in reply to system( ), printing output & matching
if ($_ eq~ m/is alive/) { $line++; last; }??
should be =~