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

Owner: Nobody in particular
Requestors: zeno.gantner [...]

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 [...]
From: Zeno Gantner <zeno.gantner [...]>
Download (untitled) / with headers
text/plain 644b
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:

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to