![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
18/04/2008, 10:39
|
![Avatar de darkleo](http://static.forosdelweb.com/customavatars/avatar198160_1.gif) | | | Fecha de Ingreso: octubre-2007
Mensajes: 106
Antigüedad: 17 años, 4 meses Puntos: 0 | |
cache::cache buenos dias, me gustaria saber como utilizo este modulo encontre esto
use Cache::FileCache;
my $cache = new Cache::FileCache( );
my $customer = $cache->get( $name );
if ( not defined $customer )
{
$customer = get_customer_from_db( $name );
$cache->set( $name, $customer, "10 minutes" );
}
return $customer;
pero la verdad no se bien como emplearle, pues tengo una pagina en cgi, y los usuarios estan en el archivo.httpwd
muchas gracias |