名称

XLS::Simple xls读取写入

函数

实例参考xt子文件夹

write_xls

写入xls

    write_xls([ ['测试', '写入' ] ], 
        'test.xlsx', 
        header=> ['一二', '三四'], 
        charset=>'utf8');

read_xls

读取xls

    my $header = read_xls( 'test.xlsx', only_header => 1, );

    my $data = read_xls( 'test.xlsx', skip_header => 1, );

    my $all = read_xls( 'test.xlsx', );