From: Errietta Kostala Date: Thu, 28 Aug 2014 13:34:55 +0000 (+0100) Subject: File::Temp not File:Tempdir X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7052dfa6cc1ad708541c71cb732305271f2421e9;p=scpubgit%2FApp-SCS.git File::Temp not File:Tempdir --- diff --git a/Makefile.PL b/Makefile.PL index b19ee23..824bec6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -19,6 +19,5 @@ WriteMakefile( 'JSON::MaybeXS' => 0, 'Hash::Merge' => 0, 'JSONY' => 0, - 'File::Tempdir' => 0, } ); diff --git a/t/04cache.t b/t/04cache.t index 4475a84..e91db16 100644 --- a/t/04cache.t +++ b/t/04cache.t @@ -4,10 +4,10 @@ use Test::More; use App::SCS; use IO::All; -use File::Tempdir; +use File::Temp qw/tempdir/; -my $tmpdir = File::Tempdir->new(); -my $dir = io($tmpdir->name); +my $tmpdir = tempdir; +my $dir = io($tmpdir); $dir->catdir('share/pages/cachetest')->mkpath; $dir->catdir('share/templates')->mkpath;