I'm sorry to hijack the thread but since Corion already gave a great answer I want to inject what I consider important context for newcomers to Perl webwork who read a glowing endorsement of modperl on the cusp of 2018.

“Apache is like Microsoft Word. It has a million options but you only need six. NGINX does those six things, and it does five of them 50 times faster than Apache.” — Chris Lea

modperl is somewhat analogous to CGI at this point. It was the cat's meow in its day but really shouldn't be used on new work unless you have a compelling reason; i.e. an Apache hook that is impossible to implement in another webserver. My context, I'm no hater: I used modperl personally for years and I still use it at work—and like it—but only because the codebase is from the 90s.

I argue that Perl best practice today—and for a few years now—is nginx with uWSGI as the Perl application server. Excepting the edge cases modperl affords where direct interaction with the webserver is necessary, this new deployment combination is better in every single way.


In reply to Re: Unable to preload Data::Dumper with mod_perl by Your Mother
in thread Unable to preload Data::Dumper with mod_perl by nysus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.