can anybody tell me why this doesnt work. I amjust trying to change to lower case the names of my files
print "Content-type: text/html\n\n";
opendir (DIR, "/home/costas/test") or die "cannot opendir dir";
foreach $file (readdir(DIR))
the files have been chmod at 777 and the print statement prints out the filenames fine. Can anyone see the mistake?