in reply to WinNT Opendir with CGI
opendir(DIR, "c:/$directory") ... ^ [download]
For extra credit, explain what, if anything, this has to do with CGI.pm