summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChip Salzenberg <chip@perl.com>1997-01-21 04:11:30 +1200
committerChip Salzenberg <chip@atlantic.net>1997-03-01 18:40:49 +1200
commit152e1cd2dccf509b7fbd264bb4b93c0b31b77660 (patch)
tree68d7a05899b0b2f423df030674936f2a8f30d654
parent8f80bccadb089a9fee3b2cbbfe9eb0aa4b7eac40 (diff)
downloadperl-152e1cd2dccf509b7fbd264bb4b93c0b31b77660.tar.gz
Document IO::File::new_tmpfile
-rw-r--r--ext/IO/lib/IO/File.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/IO/lib/IO/File.pm b/ext/IO/lib/IO/File.pm
index 0f8df001de..c194a0dead 100644
--- a/ext/IO/lib/IO/File.pm
+++ b/ext/IO/lib/IO/File.pm
@@ -55,6 +55,14 @@ Creates a C<IO::File>. If it receives any parameters, they are passed to
the method C<open>; if the open fails, the object is destroyed. Otherwise,
it is returned to the caller.
+=item new_tmpfile
+
+Creates an C<IO::File> opened for read/write on a newly created temporary
+file. On systems where this is possible, the temporary file is anonymous
+(i.e. it is unlinked after creation, but held open). If the temporary
+file cannot be created or opened, the C<IO::File> object is destroyed.
+Otherwise, it is returned to the caller.
+
=back
=head1 METHODS