From: pm@capmon.dk Date: Mon, 2 Jan 2006 02:48:41 +0000 (-0800) Subject: Documentation fix for File::Temp::new X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d05e821b371c26b65a55f4dc84c58ab20a15d923;p=p5sagit%2Fp5-mst-13.2.git Documentation fix for File::Temp::new Subject: [perl #38127] Bug in perldoc File::Temp From: pm@capmon.dk (via RT) Message-ID: p4raw-id: //depot/perl@26573 --- diff --git a/lib/File/Temp.pm b/lib/File/Temp.pm index 2af7cde..4883435 100644 --- a/lib/File/Temp.pm +++ b/lib/File/Temp.pm @@ -62,7 +62,7 @@ Object interface: require File::Temp; use File::Temp (); - $fh = new File::Temp($template); + $fh = new File::Temp( TEMPLATE => $template ); $fname = $fh->filename; $tmp = new File::Temp( UNLINK => 0, SUFFIX => '.dat' ); @@ -183,7 +183,7 @@ Exporter::export_tags('POSIX','mktemp'); # Version number -$VERSION = '0.16'; +$VERSION = '0.16_01'; # This is a list of characters that can be used in random filenames