in reply to Empty or not empty ?
use strict; my @array = (); print "Array is empty\n" if ( ! @array ); [download]