Help for this page
print "Content-type: application/vnd.ms-excel\n"; print "Content-Disposition: attachment; filename=yourfile.xls\n"; print "\n";
#!/usr/bin/perl -w use strict; use CGI; ... ); binmode STDOUT;