should work just fine.if (@a) { # @a is not empty... ... } else { # @a is empty ... }
In reply to Re: How do I test if an array is empty or not?
by merlyn
in thread How do I test if an array is empty or not?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |