Skip Menu |

This queue is for tickets about the File-Tempdir CPAN distribution.

Report information
The Basics
Id: 66500
Status: new
Priority: 0/
Queue: File-Tempdir

People
Owner: Nobody in particular
Requestors: zeno.gantner [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: typo in example
Date: Wed, 9 Mar 2011 17:17:35 +0100
To: bug-File-Tempdir [...] rt.cpan.org
From: Zeno Gantner <zeno.gantner [...] gmail.com>
Hello, I guess you have a tiny typo in the example of File-Tempdir-0.02: ============================================= use File::Tempdir; { my $tmpdir = File::Tempdir->new() my $dir = $tmpdir->name; } # the directory has been trashed my $adir = 'any directory'; { my $tmpdir = File::Tempdir->new($dir) my $dir = $tmpdir->name; } # the directory has not been trashed ============================================= It should be "my $tmpdir = File::Tempdir->new($adir)", shouldn't it? Best regards, Zeno -- MyMediaLite Recommender System Library: http://ismll.de/mymedialite