sub main { htmlhead("IP Tabelle"); tablehead(); file2table("ip xxx"); tablefoot(); htmlfoot(); } sub htmlhead { my $var = shift; print "