Perl Programming/Keywords/unlink

The unlink keyword
unlink deletes a LIST of files and returns the number of files successfully deleted. If it is unsuccessful, it it returns false and sets $! to the error number (errno).