in reply to Opendir under WinNT using CGI
Something like the following is more robust, and more portable and has the advantage of working on the command line and in GET mode too. as in: /cgi-bin/foo.pl?c:/foo
my $q= new CGI; @directory=$q->keywords(); opendir (DIR, chomp($directory[0]));
|
|---|