Perl::Critic::Policy::Community::ModPerl - Don't use mod_perl to write web applications
Contents
Affiliation
This policy is part of Perl::Critic::Community.
Configuration
This policy is not configurable except for the standard options.
Copyright And License
Copyright 2015, Dan Book.
This library is free software; you may redistribute it and/or modify it under the terms of the Artistic
License version 2.0.
Description
mod_perl <http://perl.apache.org/> is an embedded Perl interpreter for the Apache
<http://www.apache.org/> web server. It allows you to dynamically configure and mod Apache. It is not a
generally good solution for writing web applications. Frameworks using Plack (Web::Simple, Dancer2,
Catalyst) and Mojolicious are much more flexible, powerful, and stable. A web application written in one
of these frameworks can be deployed using a Perl HTTP server such as Starman or Mojo::Server::Hypnotoad;
by proxy from Apache or nginx; or even run as if they were regular CGI scripts.
Name
Perl::Critic::Policy::Community::ModPerl - Don't use mod_perl to write web applications
See Also
Perl::Critic
perl v5.40.1 2025-03-22 Perl::Critic::P...munity::ModPerl(3pm)
