Have you tried adding more print statements to find out where your program stops?

The most likely suggestion would be that the seventh workbook is empty, in the sense that it has no filled rows or columns:

my $worksheet = $workbook->worksheet(6);

I really, really recommend using a name-based approach instead of using indices to access the sheets if you have problem with converting from one-based offsets to zero-based offsets.

In reply to Re: Problem in Parsing XLSX by Corion
in thread Problem in Parsing XLSX by ravi45722

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":