Integrate podlators-1.25
[p5sagit/p5-mst-13.2.git] / lib / File / Temp.pm
index 6f351df..00c0309 100644 (file)
@@ -70,7 +70,7 @@ POSIX functions:
   $fh = tmpfile();
 
   ($fh, $file) = tmpnam();
-  ($fh, $file) = tmpfile();
+  $fh = tmpfile();
 
 
 Compatibility functions:
@@ -1471,7 +1471,7 @@ sub tmpnam {
 
 =item B<tmpfile>
 
-In scalar context, returns the filehandle of a temporary file.
+Returns the filehandle of a temporary file.
 
   $fh = tmpfile();