No, that doesn't work either. I used opendir (DIR, "G:\FTP\Ski") ... I've tried the slashes in all directions, and with and without preceding and slashes in the end. e.g. \Ski, \Ski\, /ski, /ski/
How do I get perl to understand the context? is there some function that points to the root? (even that will be pointless as I'm on WINXP where I have multiple drives. Apache knows the context, PERL does not. Fully qualify that directory name and it should work. -- View this message in context: http://old.nabble.com/How-to-get-a-file-listing-tp27644565p27668907.html Sent from the mod_perl - General mailing list archive at Nabble.com.