Erick J. Bourgeois wrote: > 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?
that's true, there's a bug in the XS code: it doesn't really returns undef, but a false value (eg. 0). will be corrected in the next release :-) cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;