in reply to Iterating Through Cell Blocks with Spreadsheet::Read
Tip #1 from the Basic debugging checklist: use strict and warnings. You get plenty of helpful information when you do. Perl thinks you have a variable named $_28. However, you really want to concatenate the string in $_ with the string 28. Here is one way to fix your problem:
$name = $sheet{"${_}28"};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Iterating Through Cell Blocks with Spreadsheet::Read
by Hammer2001 (Novice) on Oct 08, 2013 at 18:04 UTC | |
by chexmix (Hermit) on Oct 08, 2013 at 18:30 UTC | |
by chexmix (Hermit) on Oct 08, 2013 at 18:31 UTC | |
by Hammer2001 (Novice) on Oct 08, 2013 at 18:42 UTC | |
by AnomalousMonk (Archbishop) on Oct 08, 2013 at 19:55 UTC | |
|