|
|
| XP is just a number | |
| PerlMonks |
Re: Empty or not empty ?by revdiablo (Prior) |
| on Dec 15, 2006 at 02:08 UTC ( #589966=note: print w/ replies, xml ) | Need Help?? |
|
Simply: if (@array) {}Update: oops! Thanks to ikegami for pointing out that I negated the logic here. That could be if (!@array) {} as others have written.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||