in reply to Directory tree in window
You need the File::Find module. It's a standard part of Perl.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg