SoPW would certainly have gotten this post more notice! I was influenced by the stuff in the header of Meditations about "sounding board" and "RFC", and I'm too lazy to try to move it now.

I use GP as a standard abbreviation for general purpose. The general purpose Perl library is typically headed at /usr/local/lib/perl5 on unix systems.

People on the mod_perl mailing list have talked me into letting the module and accompanying database-building script go into the GP perl library and standard 'script' or 'bin' location, respectively.

The install process will (quietly) run said accompanying script. It builds a database that maps .htm(l) filenames to the number of .jpg files called out by each. Module::Build plus the CPAN config have good features for various kinds of files, but they don't include a place for data files.

The inclusion of Apache::Test will probably let the Build process know the location of Apache. Probably it could be set up to make (if necessary) a 'var' subdirectory in the Apache directory, and put the database there. Is that better than asking the user where to put it?

That seems like a good thing to do, since the info in the DB is based on the sibling 'htdocs' directory. Actually putting the DB in htdocs doesn't appeal to me.

Thanks for your interest,
cmac

In reply to Re^2: RFC: Apache2::CloseKeepAlive by cmac
in thread RFC: Apache2::CloseKeepAlive by cmac

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.