in reply to Count files in directories

??????? my $date = localtime;

my $cmd = "C:\\Perl\\bin\\perl -le \"print scalar localtime\""; my $date = `$cmd`;

use my $date = localtime;

The problem with glob is that it globs with all the bash-iness that entails (white space as seperator, etc, etc )

A good alternative is File::Find::Rule