I'm rather new to Perl and I got a few questions that probably rather simple. I've recently written some scripts that are pretty neat in my book but I don't know if style is correct for the whole perl community. I read the man page about style and what not, but what bothers me is if I use strict my code gets very log, is that how it is? and also I'm using the say variables through the 5 scripts. I want to create one configuration type file that has all my variables in it and say require or use it. do have to make it with the perl headers and chmod the file to be x, can I put use in it, and do I have to make a module? Any help anwsering these questions is much appreciated. Thank you in advance just incase I forget.....

In reply to Perl configuration files by rbnorthcutt

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.