in reply to Reading a spreadsheet

Why not skip the header and send the 'DONE' flag after you are 'DONE' reading the spreadsheet?

Replies are listed 'Best First'.
Re^2: Reading a spreadsheet
by ww (Archbishop) on Feb 18, 2015 at 16:38 UTC

    Further re runrig's suggestion (well, I think it's "further" or a "detail"): see the Spreadsheet::ParseExcel documentation on row_range

    my ( $row_min, $row_max ) = $worksheet->row_range();

    ... or use the value of $row_min to skip the header line (and while your post doesn't say so explicitly, it does seem likely that the header line will consistently be in the first row... and that suggests another approach which won't add any code (and which is left as an exercise for the OP).