BBC (British Broadcasting Corporation) > Email-MIME-CreateHTML-1.030 > Email::MIME::CreateHTML::Resolver::Cached

Download:
Email-MIME-CreateHTML-1.030.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  1
View/Report Bugs
Module Version: 1.004   Source  

NAME ^

Email::MIME::CreateHTML::Resolver::Cached - wraps caching around a resource resolver

SYNOPSIS ^

        my $o = new Email::MIME::CreateHTML::Resolver::Cached(\%args)
        my ($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)

DESCRIPTION ^

This is used by Email::MIME::CreateHTML to load resources.

METHODS ^

$o = new Email::MIME::CreateHTML::Resolver::Cached(\%args)

%args can contain:

base

Base URI to resolve URIs passed to get_resource.

object_cache (mandatory)

A cache object

resolver (mandatory)

Another resolver to apply caching to

($content,$filename,$mimetype,$xfer_encoding) = $o->get_resource($uri)

VERSION ^

$Revision: 1.4 $ on $Date: 2006/08/24 21:41:38 $ by $Author: johna $

AUTHOR ^

Tony Hennessy, Simon Flack and John Alden

COPYRIGHT ^

(c) BBC 2005,2006. This program is free software; you can redistribute it and/or modify it under the GNU GPL.

See the file COPYING in this distribution, or http://www.gnu.org/licenses/gpl.txt

syntax highlighting: