当前位置: 首页 > 工具软件 > WriteExcel > 使用案例 >

Excel(二)Spreadsheet::WriteExcel

董昕
2023-12-01
#usr/bin/perl -w

use strict;
use Spreadsheet::WriteExcel;

my $workbook = Spreadsheet::WriteExcel -> new('perl.xls');
my $worksheet = $workbook -> add_worksheet('sheetname1');
$worksheet -> write("A1","Hello word!");

http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.37/lib/Spreadsheet/WriteExcel.pm
 类似资料: