in reply to Perl System command
Maybe this is redundant, but in your example, you don't need the system command at all. You could use unlink.
Update: it is redundant now, since maa beat me in typing speed ;)