From: Chip Salzenberg Date: Mon, 20 Jan 1997 16:11:30 +0000 (+1200) Subject: Document IO::File::new_tmpfile X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9f01644eaf83397a0d7824a141f05bd365ec2a03;p=p5sagit%2Fp5-mst-13.2.git Document IO::File::new_tmpfile --- diff --git a/ext/IO/lib/IO/File.pm b/ext/IO/lib/IO/File.pm index 0f8df00..c194a0d 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