MasonX::Resolver::PAR - Get mason components from a PAR file
(Inside a web.conf) PerlModule HTML::Mason::ApacheHandler PerlModule MasonX::Resolver::PAR <Location /myapp> SetHandler perl-script PerlSetVar MasonParStaticDirectoryIndex index.htm PerlAddVar MasonParStaticnDirectoryIndex index.html PerlSetVar MasonParFile ##PARFILE## PerlSetVar MasonResolverClass MasonX::Resolver::PAR PerlHandler HTML::Mason::ApacheHandler </Location>
This is a custom Mason Resolver which loads it's content from a PAR archive. This is meant to be used in conjunction with Apache::PAR. Read the description for this module first. The web.conf above should be inside the par archive as specified by Apache::PAR. It will be appended to your apache conf.
allows us to emulate mod_dir. It defaults to qw(index.html index.htm).
should point to the par file we are reading from. Apache::PAR provides the ##PARFILE## functionality. note that this can also be passed to the ApacheHandler constructor as par_file.
Where in the par archive to read mason components from. Defaults to 'htdocs/', ApacheHandler constructor parameter is par_files_path.
PAR, Apache::PAR, HTML::Mason::Resolver
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install MasonX::Resolver::PAR, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MasonX::Resolver::PAR
CPAN shell
perl -MCPAN -e shell install MasonX::Resolver::PAR
For more information on module installation, please visit the detailed CPAN module installation guide.