as headers & text under each of these I need to store inname | group | dir |descrption| 1 |cfg_attribute_id|IN|16|mib_cfg_if||clk_cfg| 2 |cfg_selector_idx|IN|4|mib_cfg_if|
$parameters{group[0]}{name} $parameters{group[0]}{dir} . .
here %parameters is hash & i am using tie::autotie to create a structure So I am storing group as array as the text in the group changes script should be able to store in new array each group has parameters like name ,dir etc which are the columns of excel ,i want to use use Spreadsheet::ParseExcel;
But I am not able to complete the script , i tried with csv but as i converted to csv few places CR was hit so wanted to do with excel
csv would look something like this
No.,Name,DIR,WIDTH,Group,Description,clock,QUANTITY 1,cfg_attribute_id,IN,16,mib_cfg_if,,clk_cfg, 2,cfg_selector_idx,IN,4,mib_cfg_if,"
Can some one please suggest me the code ASAP?
In reply to How to parse excel to hash by nm_pavan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |