Well, never mind, my first answer. This is from perldoc for unlink:
Deletes a list of files. On success, it returns the number of deleted files. On error, it returns false and sets $! (Error)
Proof that such a standard does not exist. Also, the proof that someone wrote this code, unfortunately, has an error. Personally, I would expect that 0 would mean success. If you look at S syscall unlink, zero means success. Absolute madness, I tell you.
source
share