http://www.perlmonks.org?node_id=748307


in reply to return !!

It is returning true if the array contains any elements, false if not.

It take the array in scalar context (thus getting its length) and negates it, so zero length would be true, non-zero false, then negates this again.

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!