Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( [id://3333] : superdoc . print w/replies, xml ) Need Help??

Kiran,

This is a *Perl* site for *Perl* questions. In some cases the problem domain overlaps a little with Unix/Linux, Apache, SQL, mod_perl and networking areas of expertise -- that's OK. However, here you're asking us to write a complete answer, without having tried anything (well, anything that we can see here, anyways), and that's just not on.

It seems you want to generate some kind of report, based in some input files. Well, in broad terms, the solution is

  • Read the data into some kind of hash or array data structure, making the appropriate connections between the data as necessary;
  • Make further appropriate connections, possibly simplifying the data structure; and
  • Dump out the data structure in some sort of suitable format.
So good luck with that.

And let us know when you have a Perl question that we can help with. ;)

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds


In reply to Re: Adding object identifiers corresponding to matched headers and sub-headers. by talexb
in thread Adding object identifiers corresponding to matched headers and sub-headers. by Kiran Kumar K V N

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • 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.