in reply to Re: count files in a directoryin thread count files in a directory
chdir $dir or die "Cannot chdir to '$dir': $!";
my @files = glob '*';
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (332 votes). Check out past polls.