in reply to Re^2: How to check if an array element reference exists or not
in thread How to check if an array element reference exists or not
So, how do you determine that "such a cell exists"? I recommend printing your data structure:
use Data::Dumper; print Dumper $row;
That will show you whether such a cell exists in $row. Maybe it's the 7th cell, which would be at $row->[6]. Usually, when Perl says that defined $row->[7] is false, Perl is right.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to check if an array element reference exists or not
by corpx (Acolyte) on Apr 14, 2010 at 09:16 UTC | |
by almut (Canon) on Apr 14, 2010 at 09:26 UTC | |
by corpx (Acolyte) on Apr 14, 2010 at 10:05 UTC | |
by Corion (Patriarch) on Apr 14, 2010 at 09:23 UTC | |
by corpx (Acolyte) on Apr 14, 2010 at 10:04 UTC | |
by Anonymous Monk on Apr 14, 2010 at 10:51 UTC |