in reply to Error using Spreadsheet module

If you only need the formatted values of the cells, you can use Spreadsheet::ParseExcel::Simple:
use Modern::Perl; use Spreadsheet::ParseExcel::Simple; my $workbook = Spreadsheet::ParseExcel::Simple->read('Book1.xls') or d +ie $!; for my $worksheet ( $workbook->sheets ) { while ( $worksheet->has_data ) { say "Value = $_" for $worksheet->next_row; } }

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James