in reply to Unlink works in windows, not in Linux?
Does the user running the Perl script have write permission to the files in question, and their directory?