Short answer:
@DIRLIST = qw(.) unless @DIRLIST; #I always have my scripts in the 'root' directory to be scanned, which works with this line.
use File::Find;
sub process_file {
print "$File::Find::name\n"; # or whatever;
}
find(\&process_file, @DIRLIST);
Good Luck,
-Gabe