Well, you have the latest version of Spreadsheet::ParseExcel but a very old version of Perl. The oldest version I have on my computer at the moment is Strawberry Perl v5.12.3 (32 bit), which also runs the code you posted with no errors or warnings.
The best suggestion I can make is that you check your Excel file. If I add a blank line above the header — i.e., the line containing:
Student name IQ sports Music Academic
— then I get the error message you reported.
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re^5: How to convert Excel contents into a hash table and further access the contents of that hash table ?
by Athanasius
in thread How to convert Excel contents into a hash table and further access the contents of that hash table ?
by ankit.tayal560
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |