use strict; use Spreadsheet::ParseExcel; my $parser = Spreadsheet::ParseExcel->new(); my $workbook = $parser->parse('perl.xls'); die $parser->error(), ".\n" if ( !defined $workbook ); for my $worksheet ( $workbook->worksheets() ) { my ( $row_min, $row_max ) = $worksheet->row_range(); my ( $col_min, $col_max ) = $worksheet->col_range(); for my $row ( $row_min .. $row_max ) { for my $col ( $col_min .. $col_max ) { my $cell = $worksheet->get_cell( $row, $col ); next unless $cell; print ("Row, Col = ($row, $col)\n"); print ("Value = ", $cell->value(),"\n"); } } }
initially when I dint had Spreadsheet::ParseExcel module it showed an error Spreadsheet::ParseExcel.pm not found in @INC but now when I installed that module and trying to run this script(above one) it is showing this error "can't locate crypt/RC4.pm in @inc" can you tell me some solution and also why it is showing this type of error?
In reply to can't locate crypt/RC4.pm in @inc by ankit.tayal560
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |