in reply to Deleting a File
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Deleting a File
by cdarke (Prior) on Jun 20, 2007 at 07:32 UTC | |
by polettix (Vicar) on Jun 20, 2007 at 10:21 UTC |