Try
poj#!/usr/bin/perl -w use strict; use Spreadsheet::ParseExcel; my $file = '/home/muthum/excel1.xls'; my $parser = Spreadsheet::ParseExcel->new( Password => 'secret' ); my $workbook = $parser->Parse($file); if ( !defined $workbook ) { die $parser->error(), "\n"; } for my $worksheet ( $workbook->worksheets() ) { my $cell = $worksheet->get_cell( 0, 0 ); next unless $cell; print "[A1] = ", $cell->value(),"\n"; }
In reply to Re^13: protect excel file in perl script
by poj
in thread protect excel file in perl script
by arunks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |