All the Perl that's Practical to Extract and Report
CGI::Explorer makes Tree navigation easy in perl.
I have used an ASP / COM 'object' for this task before and it was deeply unpleasent. I haven't actually tried this module but I plan to integate it into my own cool home CMS.