#This is array to read from bottom to top. my @all_array; open(FILE,"$datadir/$datafile") || &Errormsg("Please correct your path or chmod of database."); while () { @_ = split /\|/; my $hash_ref = { DATE => $_[0], TITLE => $_[1], URL => $_[2], COMMENTS => $_[3], }; push @all_array, $hash_ref; } close(FILE); foreach (reverse @all_array) { print ""; print " "; print " "; print " "; print " "; print " "; print " "; print "
$_->{'TITLE'}
Posted - $_->{'DATE'}
$_->{'COMMENTS'} ({'URL'}\" target=\"_blank\">more information)

"; }