With the CGI.pm module you can get a web browser to open a dialog where you can select a file, e.g. for uploading. I'd like to be able to select a directory in a similar way, not for uploading but just to get the path of the directory into a variable in the script. Can it be done?
UPDATE: What I would like to achieve is that the client can choose a directory on her file system and then run a function of the script there. Is there some other way (besides the browser widget I mean) to achieve this?