From 9f01644eaf83397a0d7824a141f05bd365ec2a03 Mon Sep 17 00:00:00 2001 From: Chip Salzenberg Date: Tue, 21 Jan 1997 04:11:30 +1200 Subject: Document IO::File::new_tmpfile --- ext/IO/lib/IO/File.pm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ext') 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. If it receives any parameters, they are passed to the method C; if the open fails, the object is destroyed. Otherwise, it is returned to the caller. +=item new_tmpfile + +Creates an C 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 object is destroyed. +Otherwise, it is returned to the caller. + =back =head1 METHODS -- cgit v1.2.1