[MTOS-dev] mod_perl 1 seems to be working

Jay Allen jay at endevver.com
Mon Feb 18 21:36:07 PST 2008


On Feb 18, 2008 1:29 PM, Dave Morgan <dave at 1001111.com> wrote:
> Note that these changes are related to the rather archaic way that parts of
> MTOS are written.
> Sprinkling "require"s throughout the code is not suitable for object style
> perl. All modules
> should be loaded through "use" . And place the use's at the top of the
> module, that will
> keep the sysadmins happy :)

That's great in a persistent environment, but not so in one where all
of that Perl code has to be loaded upon each request.  Hence, the
heavy use of require.

Jay


More information about the MTOS-dev mailing list