Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Catalyst::Plugin::CachUseruContributed PerlCatalyst::Plugin::Cache::Curried(3)

NAME
       Catalyst::Plugin::Cache::Curried	- Curried versions of "cache_set",
       "cache_get" and "cache_remove" that look	more like a backend.

SYNOPSIS
	   my $curried = $c->cache( %meta );

	   $curried->get( $key,	$value ); # no need to specify %meta

DESCRIPTION
       See "META DATA" in Catalyst::Plugin::Cache for details.

METHODS
       new %meta
	   Create a new	curried	cache, that captures %meta.

       backend %additional_meta
	   This	calls "choose_cache_backend" on	the $c object with the
	   captured meta and the additional meta.

       set $key, $value, %additional_meta
       get $key, %additional_meta
       remove $key, %additional_meta
       compute $key, $code, %additional_meta
	   Dellegate to	the "c"	object's "cache_set", "cache_get",
	   "cache_remove" or "cache_compute" with the arguments, then the
	   captured meta from "meta", and then the additional meta.

       meta
	   Returns the array ref that captured %meta from "new".

       c   The captured	$c object to delegate to.

perl v5.32.1			  2012-03-1Catalyst::Plugin::Cache::Curried(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Catalyst::Plugin::Cache::Curried&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help