Spreadsheet::WriteExcel 是一个跨平台的生成excel文件的模块, 可以方便的设置单元格内容, 样式, sheet 的名称: 但是默认情况下中文会乱码, 需要用Encode模块进行编码转换: #!/usr/bin/perl use warnings; use strict; use Spreadsheet::WriteExcel; use Encode qw/decode/; my $excel_object = Spreadsheet::WriteExcel->new(&qu