you are writing, you need a widget which allows you to select files and directories. However, your example based on Tk::DirTree will handle directories only. If that's good enough, check out the following:
perl -MTk -e"print tkinit->chooseDirectory"In reply to Re: Directory and file selection with PERL/Tk
by lamprecht
in thread Directory and file selection with PERL/Tk
by chanklaus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |