@Host=grep {/Host:/} @lines; @AHost=split (/ /,$Host[0]); $filepath=$htmlpath . $line . ".html"; @Domain=grep {/DNS domain name:/} @lines; @ADomain=split (/ /,$Domain[0]); print "$AHost[1].$ADomain\n"; @IP=grep {/IPAdress:/} @lines; print ""; foreach $run (@IP) { @AIP=split (/ /,$run); print $AIP[1] . "
"; } print "\n";