If I was writing an application with perl where should I put the files? I know that for most apps it seems that

Now my app is written in perl. It has various modules not really of use to anyone except my app and some configuration files. The stickler is the perl modules. Should they be lumped in PERLINC with the more generally useful perl modules or somewhere else (eg /usr/share/appname)and use use lib qw(/usr/share/appname). To draw an analogy, Yum the rpm package utility has a script in /usr/bin and modules somewhere in /usr/share. I know yum is written in python so the analogy is of lessened value.

Can I get some thoughts on the matter?


In reply to RFC: Perl Application installation locations by blm

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.