]> git.sesse.net Git - wloh/commitdiff
Properly unlink the temporary file after training.
authorSteinar H. Gunderson <Steinar H. Gunderson sesse@debian.org>
Sat, 17 Mar 2012 12:10:06 +0000 (13:10 +0100)
committerSteinar H. Gunderson <Steinar H. Gunderson sesse@debian.org>
Sat, 17 Mar 2012 12:10:06 +0000 (13:10 +0100)
train.pl

index 4981e44477fa9dc504184a2ba2774d168ac3e1a7..d8037db2f615b30b99a8a159aa39cae5092ac9ed 100755 (executable)
--- a/train.pl
+++ b/train.pl
@@ -63,3 +63,4 @@ while (<RATINGS>) {
 }
 
 $dbh->commit;
+unlink($tmpnam);