Greetings Monks,
I am a C coder that has recently been thrown into a Perl crash course. I am coding a app of about 50 or so scripts that handle various network related tasks for the company I work for. Most require anywhere from 1 to 4 other scripts.
The four scripts required are entirely unrelated.
#1-Automatically creates the web page and populates the iframe within it. It is also responsible for creating all the necessary icons for that utility.
#2-Returns a username by looking up a users id in ADODB
#3-A catch all SQL query function that uses DBI
#4-A tab function for page navigation
Now to the question. I would like to group all of these functions together so each script would essentially contain one 'use' for all four functions. I read that modules are typically used for related functions and routines so that is out of the question. Each of these four scripts will only be used in my suite.
How should I handle this?
I appreciate your advice,
hok_si_la
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|