excel - Compilation error when running perl code to access xlsx sheet -



excel - Compilation error when running perl code to access xlsx sheet -

i have below code:

use strict; utilize warnings; utilize text::iconv; utilize spreadsheet::xlsx; utilize date::format; $converter = text::iconv -> new ("utf-8", "windows-1251"); # read info file. $prod_otp = spreadsheet::xlsx->new('/home/shahk/book1.xlsx', $converter); if (!defined $prod_otp ) { die $prod_otp->error(), ".\n" ; }

but, when seek run, below error:

argument "#ref!" isn't numeric in int @ /tools/oss/packages/spreadsheet/xlsx/fmt2007.pm line 94.

can please help me out in overcoming kind of error?

thanks!

adding parser spreadsheet::xlsx::fmt2007 worked. decided add together parser error showing in routine sub fmtstring { } . atleast, when run script dont see error

excel perl exception-handling

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Php operator `break` doesn't stop while -