Re: [Catalyst] Plugin::Cache silent failures

2009-05-23 Thread Tomas Doran
Apologies for the delay, I'm a little behind on things this week.. Bill Moseley wrote: Unfortunately, Cache::Entry doesn't really specify a return value for set(), but common backends like Memcached and FastMmap do seem to return a value indicating success. Not sure if there are other commonly

[Catalyst] Plugin::Cache silent failures

2009-05-20 Thread Bill Moseley
sub cache_set { my ( $c, $key, $value, %meta ) = @_; $c-choose_cache_backend_wrapper( key = $key, value = $value, %meta ) -set( $key, $value, exists $meta{expires} ? $meta{expires} : () ); } Unfortunately, Cache::Entry doesn't really specify a return value for set(), but common