I just rolled some new functionality into our production server (which runs on mod_perl) and I'm receiving errors from my use base statement, in which I'm using multiple inheritance to utilize a mix-in class. Here's what I'm seeing:

Could not process that_module in that_method: Can't multiply inherit %FIELDS at /usr/local/perl5.8.6/lib/5.8.6/base.pm line 103

I don't have a problem with this in development and I can't reproduce it even when I run my development server in mod_perl with just one child process (I'm thinking this is a mod_perl issue). I dug into base.pm to figure out what's going on and it seems there's a conflict with the %FIELDS hashes of the base classes. But I'm not doing anything with %FIELDS or using the fields pragma.

I'm not sure what other specific context would be useful short of posting thousands of lines of code and I can't post a simple example, as I can't reproduce this in development. I'm hoping someone has some wisdom on what tends to trigger this error.

Any help appreciated.


In reply to Problems with multiple inheritance by agianni

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.