in reply to Read excel column and compare with array

Where does your code have a problem?

Are you sure that column 2 corresponds with column BB?

  • Comment on Re: Read excel column and compare with array

Replies are listed 'Best First'.
Re^2: Read excel column and compare with array
by snehit.ar (Beadle) on Jul 17, 2017 at 08:31 UTC
    err is Use of uninitialized value in foreach loop entry. Yes column B is BB1.

      This means that ->{maxrow} is undefined. Are you certain that you want to use the second spreadsheet? You assign my $sheet = $read->[1] but then never use that.