Skip Menu |

This queue is for tickets about the Cache-Cache CPAN distribution.

Report information
The Basics
Id: 72240
Status: resolved
Priority: 0/
Queue: Cache-Cache

People
Owner: Nobody in particular
Requestors: feratilbeau [...] hotmail.com
Cc:
AdminCc:

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



In Cache::FileBackend, mkpath can throw a fatal exception in sub _Create_Directory, e.g.: mkpath( $directory, 0, $DIRECTORY_MODE ); may croak. Since the existence of the directory is tested just after: -d $directory or throw Error::Simple( "Couldn't create directory: $directory: $!" ); may it do an eval {} around mkpath please? Regards, Jean-Damien.
Subject: Re: [rt.cpan.org #72240]
Date: Mon, 7 Nov 2011 08:38:25 -0800
To: bug-Cache-Cache [...] rt.cpan.org
From: Jonathan Swartz <swartz [...] pobox.com>
Cache::Cache is unlikely to get any more development. Have you considered switching to CHI? It has a fairly compatible API and its File driver is much more efficient. On Nov 7, 2011, at 1:58 AM, jddurand via RT wrote: Show quoted text
> Mon Nov 07 04:58:15 2011: Request 72240 was acted upon. > Transaction: Ticket created by jddfr74 > Queue: Cache-Cache > Subject: (No subject given) > Broken in: 1.06 > Severity: Normal > Owner: Nobody > Requestors: feratilbeau@hotmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72240 > > > > In Cache::FileBackend, mkpath can throw a fatal exception in sub > _Create_Directory, e.g.: > > mkpath( $directory, 0, $DIRECTORY_MODE ); > > may croak. Since the existence of the directory is tested just after: > > -d $directory or > throw Error::Simple( "Couldn't create directory: $directory: $!" ); > > may it do an eval {} around mkpath please? > > Regards, Jean-Damien. >
Subject: RE: [rt.cpan.org #72240]
Date: Mon, 7 Nov 2011 18:45:30 +0100
To: <bug-cache-cache [...] rt.cpan.org>
From: un soleil pour tous <feratilbeau [...] hotmail.com>
Dear Jonathan, Yes, sensible answer. Being on Windows, CHI did not installed well last time, and right now it installs simply fine! So, this is very good news, please close this ticket; I will switch to CHI. Best Regards, Jean-Damien: Show quoted text
> Jonathan wrote: > Cache::Cache is unlikely to get any more development. Have you considered switching to CHI? It has a fairly compatible API and its File driver is much more efficient.
Subject: Re: [rt.cpan.org #72240]
Date: Mon, 7 Nov 2011 09:52:05 -0800
To: bug-Cache-Cache [...] rt.cpan.org
From: Jonathan Swartz <swartz [...] pobox.com>
Good to hear! Jon On Nov 7, 2011, at 9:45 AM, jddurand via RT wrote: Show quoted text
> Queue: Cache-Cache > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72240 > > > > Dear Jonathan, > > Yes, sensible answer. Being on Windows, CHI did not installed well last time, and right now it installs simply fine! > So, this is very good news, please close this ticket; I will switch to CHI. > > Best Regards, Jean-Damien: >
>> Jonathan wrote: >> Cache::Cache is unlikely to get any more development. Have you considered switching to CHI? It has a fairly compatible API and its File driver is much more efficient.
> >