Hi
rupesh,
"Each subdirectory's subdirectories (confusing, but doable)
..recuresively (uh..uh)"
Are you having difficulty doing this recursively?
As a little example look at this code below:
#!/usr/bin/perl
use strict;
use warnings;
use File::Find;
my $TargetPath = $ARGV[0];
find (\&ProcessTree,$TargetPath);
sub ProcessTree
{
print "Directory: $File::Find::name\n" if -d;
print "File: $File::Find::name\n" unless -d;
}
Call this script with the path you want to traverse as an argument.
Are you planning on using the
HTML::Template module?
I hope the above example has given you an idea of how to tackle this.
Let me know how you get on.
Martin