Hi
I am really new to writing Perl modules, i've looked at a few of the documents about them, but I was wondering if I could ask a relatively simple (I hope) question.

I want to be able to write a perl module, i.e. MyModule.pm and specify where to put it. I.e. I want to have it under my document root in a /modules folder. This might sound a little strange, but I have written some software that requires a module that would not normally be installed by default Apache::HTpasswd I think it's called. Anyway, I want to include this module in my software package so that my software doesn't need to rely on it installed on the system.

Let me know if you think I am going about this all wrong.
Cheers,
Tom


In reply to Location of perl modules by CodeJunkie

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.