-3

I have a hash of result messages. Each message has 4-5 different parameters. I want to match parameter values with the values stored in an excel sheet. If they match its pass or fail Can you help me how to read from an excel sheet and match it line by line with my current message in hash.

tshepang
  • 12,111
  • 21
  • 91
  • 136

2 Answers2

2

The best way to read from an Excel file is using a CPAN module, like Spreadsheet::XLSX

Miguel Prz
  • 13,718
  • 29
  • 42
0

If you are using MS Excel 2003 or earlier, you can use - ParseExcel

If you are using excel 2007 or higher (xlsx), then Spreadsheet::XLSX does the job.

If you want something very quick and simple try - Simple Its an easy to use wrapper around ParseExcel.

vxxxi
  • 155
  • 1
  • 6