http://qs321.pair.com?node_id=761978

deadpickle has asked for the wisdom of the Perl Monks concerning the following question:

Here is a question that I cant seem to answer, even though it is a simple one. I want to simply delete a file, under windows, within perl. I have tried unlink and
my $call = "del $kid"; system($call);
and they delete them, sort of. I know this because I get Could Not Find C:\Users\deadpickle\Desktop\UAS\GRRUVI_1.60\panel\UAS01 in the terminal. But when I go to look at the directory the files 'were' in I am stunned to see that they are still there!!!!! If I ls (yes my windows system has ls) the directory it only verifies that the files were deleted in mind and there bodies are still lingering. I don't get it?! Any ideas?