We don't bite newbies here... much | |
PerlMonks |
Re^12: Iterating Through Cell Blocks with Spreadsheet::Readby AnomalousMonk (Archbishop) |
on Oct 09, 2013 at 04:27 UTC ( [id://1057478]=note: print w/replies, xml ) | Need Help?? |
How can I use a variable instead of "F28"? This essentially just goes back to toolic's original reply: make sure that $sheet is a hash reference and that its content is what you expect; access the contents via -> arrow notation, forming the hash keys as before with something like $name = $sheet->{"${_}28"}; etc. (A simple concatenation like $sheet->{$_ . '28'} would work just as well.)
In Section
Seekers of Perl Wisdom
|
|