在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
#!/usr/bin/perl -w use strict; use Spreadsheet::ParseExcel; my $parser = Spreadsheet::ParseExcel->new(); my $pWorkbook = $parser->Parse('ExcelName.xls'); my $pWorksheet = $pWorkbook->Worksheet('SheetName'); my $cell = $pWorksheet->Cell(35, 1); #Cell(row, col), start with 0 my $meged = $cell->{'Merged'}; print defined($meged) ? "$meged\n" : "<undef>\n"; 【参考文献】: [1]. Perl官方网站 |
请发表评论