IO::DeleteFile

IO::DeleteFile(file): bool

Deletes file.

Table 1. Parameters

file

String

File to delete

Return

TRUE if delete was successful and FALSE if not.

IO::DeleteFile("/tmp/file") // Will delete "/tmp/file" file.