Subject: | Add 'recurse' option to constructor |
It would be nice if I could say the following:
my $iterator = Directory::Iterator->new($TEMPLATE_DIR, recurse => 0);
To tell it to only look in the specified directory, and not search in any sub-directories.
Cheers,
Neil