#!/usr/bin/perl use strict; use warnings; use CGI; use CGI::Carp qw/fatalsToBrowser/; my $q = new CGI; open (FILE, "); close FILE; my @sorted_table = sort {$a->[1] cmp $b->[1]} @table; print $q->header, $q->start_html, "\n"; print "\n" for (map {join "
$_
", @$_} @sorted_table); print "
\n", $q->end_html; exit;