Oops. I somehow convinced myself that while works for array iteration something like it does with a filehandle.
Array iterators (each, foreach, etc) should only deal with existing indexes. An empty array should be false.
TGI says moo
In reply to Re^3: A pair of "mathematical" attributes for arrays?
by TGI
in thread A pair of "mathematical" attributes for arrays?
by blazar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |