I'm doing this on a windows platform by the way I have tried so many different things :(opendir(LOGS, "/perl/ass/")|| die "dir not found"; #Opens the folder + containing the log files @logfiles = readdir(LOGS);#Puts the name of all files into an ar +ray closedir(LOGS); $currentlog = "/perl/ass/@logfiles[$hour]"; chmod (0777, $currentlog); # << shouldnt this give me permission +?!?! open(CURRENTLOG, $currentlog)|| die "file not found: $!"; # << THI +S IS LINE 20
In reply to Perl Permissions by blundell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |