summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlaven Rezic <slaven@rezic.de>2002-10-24 21:04:20 +0200
committerhv <hv@crypt.org>2002-11-07 13:51:39 +0000
commitc6d63c67cbd3ac9fa6ff9e314b9945f590abfc9d (patch)
tree54b6a29b9a59261682a38b8020852ee8a6a7869b
parentb739a87e1136803e4caa98b406c9987f6607e13e (diff)
downloadperl-c6d63c67cbd3ac9fa6ff9e314b9945f590abfc9d.tar.gz
File::Temp documentation fix
Message-Id: <200210241704.g9OH4KlR030883@vran.herceg.de> p4raw-id: //depot/perl@18124
-rw-r--r--lib/File/Temp.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/File/Temp.pm b/lib/File/Temp.pm
index 6f351dfa6c..00c0309541 100644
--- a/lib/File/Temp.pm
+++ b/lib/File/Temp.pm
@@ -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();