Unfortunately strict is not used in any of these scripts. When I began writing a test.pl script using strict it became obvious that the scripts would have plenty of warnings (it would be nice to avoid having to write in a compatible way with this system but I'm afraid thats a can't do). I have been advised not to use strict by one of the original developers of the code. However I am fortunate enough to also be working on a part of the system which can be relatively separate from the rest, but I am hoping to extract what is reusable from the bulk of the system and write those into packages (a project which has been started).

The existing system uses alot of global values which to an outsider like myself are ambiguous at first until I follow through their use (makes for plenty of reading). Alot of these globals refer to local directory structures, database settings and a global array stores the most recent results from database queries. These are not passed between subroutines but are frequently assumed to be defined. Similarly references to external subroutines do not follow the $object->dosomething() layout but imply that the external subroutines have been imported and are able to be called similarly as if they were included in the body of the calling script. This makes the collection very tangled indeed (grep has become a close friend).

I will have a read through the links you've supplied.

In reply to Re: Re: Inspection/Introspection by ceedee
in thread Inspection/Introspection by ceedee

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.