<?xml version="1.0" encoding="windows-1252"?>
<node id="534597" title="Re: Making Class::Std work with mod_perl" created="2006-03-05 15:30:12" updated="2006-03-05 10:30:12">
<type id="11">
note</type>
<author id="107600">
TheDamian</author>
<data>
<field name="doctext">
Class::Std 0.0.8 should now "just work" with mod_perl. From the docs:

&lt;blockquote&gt;&lt;code&gt;
"Class::Std::initialize()"
   This subroutine sets up all the infrastructure to support your
   Class::Std- based class. It is usually called automatically in a
   "CHECK" block, or (if the "CHECK" block fails to run -- under
   "mod_perl" or "require Class::Std" or "eval "..."") during the
   first constructor call made to a Class::Std-based object.

   In rare circumstances, you may need to call this subroutine
   directly yourself.  Specifically, if you set up cumulative,
   restricted, private, or automethodical class methods (see below),
   and call any of them before you create any objects, then you need
   to call "Class::Std::initialize()" first.
&lt;/code&gt;&lt;/blockquote&gt; 

So you shouldn't need to call the new subroutine yourself in most cases.
&lt;p&gt;
Damian</field>
<field name="root_node">
534535</field>
<field name="parent_node">
534535</field>
</data>
</node>
