then your unlink has to be like this:my $path = "some/path" opendir( DIR, $path );
unlink "$path/$filename";
Note that the permissions on the data file itself do not matter for "unlink" -- only the permissions on the directory containing the data file are important.
In reply to Re: Deleting a File
by graff
in thread Deleting a File
by phimtau123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |