in reply to Re^4: Creating a table from raw data!
in thread Creating a table from raw data!
Note the extra close-curly-brace. I think if you change it to read as follows:push (@{$Storage->{LUNs}}->{WWN}}, "$info");
there won't be a syntax error, and it might behave better. Apart from that, there's a warning from this line:push (@{$$Storage{LUNs}{WWN}}, $info);
The ", $/" part does no good at all -- the warning is "useless use of a variable in void context". Just remove those four characters.$Storage->{SAN} = $sheet->Name, $/;
There's nothing more I can say, because I don't use windows or Win32::OLE. To read from an Excel file, I use Spreadsheet::ParseExcel, which works fine.
|
|---|