Personally I'd test the assignment by !defined $raData and the emptyness by scalar(@$raData) == 0.
However, as far as I can see, !@$raData seems to test for emptyness as I'd expect with Perl 5.6.1, so I maybe I missed the point of your question?
Best, -gjb-
In reply to Re: array test question
by gjb
in thread array test question
by smackdab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |