my $cmd = "del temp.txt"; system ($cmd) == 0 or die "Cannot $cmd:$?\n";