Maybe it's not surprising that people in your community have trouble understanding this. Let me see if I get it:

There is a big script made up of source files, and people write mods to the script by composing directives to add or replace chunks of content that are keyed by specific lines that appear in the (pre-modified) source files. These directives take the form of "plug-ins", which will be loaded and applied to the sources by a perl script, known here as "Main.pl".

The problem is that sometimes there are two or more mods implemented in these plug-ins that apply to the same key lines of source data, and you're looking for a way to make sure that a plug-in that adds content at a given key line will be applied before some other plug-in that changes that key line to something different.

So, how well do the members of this community know each other? Do they keep track of what the others are doing? What's to keep them from creating plug-ins that are mutually incompatible, no matter how well coordinated your Main.pl can be?

Assuming that some folks finish their plug-ins before others, it would make a lot of sense for others to base their efforts on the latest, most updated version of the content. In other words, make sure that each modification/plug-in is time-stamped, apply them in the order in which they were created, and only allow new mods to be defined with reference to the result of all existing mods. This would not require a parent-child process design (but the proper design should probably look like a CVS or RCS setup).

I'm sorry if I've missed the point entirely, but I hope you can see how I came to this interpretation of your post, and can provide a clearer explanation of the problem.


In reply to Re: Re: Inserting one script's info into another script's output by graff
in thread Inserting one script's info into another script's output by SleepyDave

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.