Sorry to bother the list again, but Aldo, checking it's undef"ness" with defined does not work either, it falls through not matter what. I tried putting print "$index[0]\n"; to see it's value and indeed it is undef (ie. it did not print anything), so why does it pass the if statement?
erick never stop questioning www.jeb.ca