sub main { htmlhead ("IP Tabelle"); tablehead; file2table ("ip xxx"); tablefoot; htmlfoot; } sub htmlhead { print "