use CGI qw(:standard); dbmopen(my %NEWS, "news", 0644) #opening the db or die("Error opening news database: $!"); open(TEMPLATE,"newstemp.html"); #opening the template while(