in reply to Deleting or unlinking a file
You seem to have forgotten the following after the shebang line:
use strict; use warnings;
See Use strict and warnings and Use strict warnings and diagnostics or die.
"However am using the below code to delete a file,change the permissions and then delete the file,for some reason the file still exists,any idea?
This doesn't make sense, you think you're deleting a file, changing permissions (of what?) then deleting the same file?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Deleting or unlinking a file
by Anonymous Monk on Mar 15, 2011 at 01:44 UTC | |
by Eliya (Vicar) on Mar 15, 2011 at 02:04 UTC |