NAME
MasonX::Resolver::Multiplex - multiplex several Resolver objects
VERSION
Version 0.001
SYNOPSIS
use MasonX::Resolver::Multiplex;
my $resolver = MasonX::Resolver::Multiplex->new(
resolvers => [
My::Custom::Resolver->new,
HTML::Mason::Resolver::File->new,
],
);
my $interp = HTML::Mason::Interp->new(
resolver => $resolver,
# ... other options
)
DESCRIPTION
Use this Resolver subclass when you want to combine the behavior of other Resolver subclasses, such as in the "SYNOPSIS".
This class delegates methods to its contained resolvers
. Each method is called on each resolver in order; the first to return a true value 'wins'.
Delegated methods:
get_info
glob_path
apache_request_to_comp_path (if present)
SEE ALSO
HTML::Mason HTML::Mason::Resolver
AUTHOR
Hans Dieter Pearcey, <hdp at pobox.com>
BUGS
Please report any bugs or feature requests to bug-masonx-resolver-multiplex at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MasonX-Resolver-Multiplex. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc MasonX::Resolver::Multiplex
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=MasonX-Resolver-Multiplex
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
COPYRIGHT & LICENSE
Copyright 2008 Hans Dieter Pearcey.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.