in reply to
Empty or not empty ?
Too much wine indeed! Just use the array in scalar context:
if (! @array) { print "nothing there\n"; }
[download]
Comment on
Re: Empty or not empty ?
Download
Code
In Section
Seekers of Perl Wisdom