By the blue-coded structure I presume you are referring to a part of the perl syntax that your editor is colouring blue. Seeing as I don't know what editor you are using, or how you have configured it, I don't know what sort of syntax you are referring to.

I have found in the past that if I want to understand the flow of a large perl script that I have not seen before, a good way is often to to run it under the Devel::NYTProf profiler. The report it generates will contain loads of performance information which you can ignore for now, but it will also tell you for each function what other functions called it, and how often, so by reading the report you can get an idea about the flow of the program, and which parts are important, you can also get a clue where the dead code is, as it will not have any calls to it. (Though make sure you allow for error handling code before you remove anything.)


In reply to Re: Visualizing the skeleton of a perl code by chrestomanci
in thread Visualizing the skeleton of a perl code by Anonymous Monk

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.