So, let me embarrassingly get back to basics for a sec. I'm pretty familiar with oo programming, but none of that applies to anything I'm doing in this particular project. The issue I'm dealing with is simply that I have a bunch of different functions separated (into different files) based on the nature of their purpose. In other words, I'm creating what I'd like to call a bunch of libraries of functions (and exported variables), not a bunch of objects and classes. I chose to implement these libraries in the form of Packages because I figured that would be efficient for perl and yield better execution performance for the apps that call them. But, given what I'm running into, I think I've chosen the wrong approach.

So, since I don't need classes or objects, but I do need to create libraries, what's a more appropriate approach using perl?


In reply to Re^8: error for undefined function that's been imported by argv
in thread error for undefined function that's been imported by argv

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.