Subclassing - A guide to subclassing Apache2::Mogile::Dispatch
On its own Apache2::Mogile::Dispatch won't do what you want it to. The best way to take full advantage of its features is to subclass it to suite your needs.
This function returns the key used to query in mogile. In most cases it is the request uri but for large sites or sites that span multiple hosts there is a chance you may have conflicting urls.
This function returns the host_config (also known as the request config) that is used to determine if a give uri (request) is to be handled through mogile or not.
This function returns a hash ref that configures the module. See the docs on module configuration.
This function is used to determine if a mogile handled request is filtered through mod_include. See the example module SSI.pm for more information.
You can find documentation for this module with the perldoc command.
perldoc Apache2::Mogile::Dispatch
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Apache2-Mogile-Dispatch
CPAN Ratings
http://cpanratings.perl.org/d/Apache2-Mogile-Dispatch
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Apache2-Mogile-Dispatch
Search CPAN
http://search.cpan.org/dist/Apache2-Mogile-Dispatch
The socklabs-cpan project page
The project page: http://dev.socklabs.com/projects/cpan/
The SVN repository: http://dev.socklabs.com/svn/cpan/Apache2-Mogile-Dispatch/trunk/
MogileFS project page on Danga Interactive
http://www.danga.com/mogilefs/
Copyright 2006 Nick Gerakines, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Apache2::Mogile::Dispatch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache2::Mogile::Dispatch
CPAN shell
perl -MCPAN -e shell install Apache2::Mogile::Dispatch
For more information on module installation, please visit the detailed CPAN module installation guide.