Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my @array=glob('path/*');
My brain is no0t functioning as it should, so someone elses quota would be mostly appriciated. thanks.if($#array==0){ print "this doesn't werk anyway you doughnut.\n"; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Empty or not empty ?
by ikegami (Patriarch) on Dec 15, 2006 at 02:14 UTC | |
Re: Empty or not empty ?
by revdiablo (Prior) on Dec 15, 2006 at 02:08 UTC | |
Re: Empty or not empty ?
by pemungkah (Priest) on Dec 15, 2006 at 05:56 UTC | |
Re: Empty or not empty ?
by jesuashok (Curate) on Dec 15, 2006 at 02:10 UTC |