Hi,
I have a Excel spreadsheet where in I have defined few variables and their values (a kind of configuration). I would like to read each variable name and initialize its value. I am new to Perl and was wondering what can be best approach to do that? Can it be taken into a hash at one go? Otherwise, I'll have to put if-else or switch statements as many times as there are variables, which I think would not be feasible in longer run.
The format of Excel is:
Cell A1 contains variable name
Cell A2 contains its value
Cell B1 contains another variable name
Cell B2 contains its value and so on...
Thanks in advance.