Help for this page

Select Code to Download


  1. or download this
     
    use strict;
    use Net::Ping;
    ...
    ping_hosts;
    # Print Results to Terminal
    print $output;
    
  2. or download this
    my $outfile = "output.txt";
    
    ...
       print OUTFILE "Results for $host:\n";
       print OUTFILE "$results\n\n";