MasonX::Resolver::Multiplex - multiplex several Resolver objects
Version 0.001
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 )
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'.
resolvers
Delegated methods:
get_info
glob_path
apache_request_to_comp_path (if present)
HTML::Mason HTML::Mason::Resolver
Hans Dieter Pearcey, <hdp at pobox.com>
<hdp at pobox.com>
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.
bug-masonx-resolver-multiplex at rt.cpan.org
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
http://annocpan.org/dist/MasonX-Resolver-Multiplex
CPAN Ratings
http://cpanratings.perl.org/d/MasonX-Resolver-Multiplex
Search CPAN
http://search.cpan.org/dist/MasonX-Resolver-Multiplex
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.
To install MasonX::Resolver::Multiplex, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MasonX::Resolver::Multiplex
CPAN shell
perl -MCPAN -e shell install MasonX::Resolver::Multiplex
For more information on module installation, please visit the detailed CPAN module installation guide.