At 7:09 AM -0800 11/11/10, Anush wrote:
Is there any code for reading an xls file in perl.
I found the following code from net, but it does not work. Please help
me.


#!/usr/bin/perl -w

use strict;
use Spreadsheet::Read;
use Data::Dumper;

my $xls = ReadData ("Input/sample.xls");

print $xls->[1]{'A1'};
exit;

Use the Spreadsheet::ParseExcel module.


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to