X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=scripts%2Fclean_cache.pl;h=e225199507dfb6b303802c9e502d5d412cb51b41;hb=HEAD;hp=313bbe5c89d13347c5ce62f6fd0a6b0162695e14;hpb=635184d33dfb8b955a162e37863bc7b8e4541f2b;p=ndwebbie.git diff --git a/scripts/clean_cache.pl b/scripts/clean_cache.pl index 313bbe5..e225199 100755 --- a/scripts/clean_cache.pl +++ b/scripts/clean_cache.pl @@ -3,12 +3,13 @@ use strict; use warnings; +use local::lib; use FindBin; use lib "$FindBin::Bin/../lib"; use Cache::FileCache; -my $cache = new Cache::FileCache({cache_root => "/tmp/ndweb-$<", namespace => 'cache'} ); +my $cache = Cache::FileCache->new({cache_root => "/tmp/ndweb-$<", namespace => 'cache'}); $cache->purge;