Hello monks !!!

I'm searching for a tutorial or a detailled explanation about how can I make two tables in DBI perl to be connected via a third index table. For example I'm parsing a newspaper article and I collect information. I'd like to have a table in which I store my parsed article, another in which I collect my information from the article, and finally an index table in which I have the following relationship : for article 1 I have 1, 2...n information, for article two I have 1, 2...n where each number is the key of the row. The table will only have two columns.

I'm searching for two days now a piece of code on the web which looks like what I discribed earlier.

Thank you

More precisely I'm talking about relational tables and the way which this kind of data can be genrated from perl


In reply to DBI relation between tables tutorial by M15U

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.