in reply to count files in a directory
Maybe a more concise approach, using globbing ?
my $dir = '/home/oracle/test/Oracle/oradata';
my @files = <$dir>;
my $numfiles = scalar @files;
print "Files in $dir: $numfiles\n";
chdir $dir or die "Cannot chdir to '$dir': $!";
my @files = glob '*';
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (562 votes). Check out past polls.