From: Chip Salzenberg Date: Mon, 20 Jan 1997 16:11:30 +0000 (+1200) Subject: Document IO::File::new_tmpfile X-Git-Tag: accepted/trunk/20130322.191538~38041^2~306 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=152e1cd2dccf509b7fbd264bb4b93c0b31b77660;p=platform%2Fupstream%2Fperl.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