in reply to Erroneous defined detection of array elements
perl -le ' $a[10] = 1; if (exists $a[2]) { print "how did that get there?\n"; } else { print "a[2] does not exist\n"; } ' a[2] does not exist
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Erroneous defined detection of array elements
by ikegami (Patriarch) on Nov 23, 2009 at 20:38 UTC | |
|
Re^2: Erroneous defined detection of array elements
by almut (Canon) on Nov 23, 2009 at 20:24 UTC | |
by keszler (Priest) on Nov 23, 2009 at 20:32 UTC | |
by ikegami (Patriarch) on Nov 23, 2009 at 20:44 UTC |