<p>Hello again and many thanks for the suggestions <p>I'm new to everything, and would appreciate some help in formatting + text. given this (this is just a sample out of 100 lines) I should b +e using regex: <p>This is basically a bilingual dictionary entry, where under column +X we should see the word in English, under Y in Portuguese, and unde +r Z whether this is a noun, verb, etc. In bold type I'm showing the w +ords that should only be added to the columns, disregard the rest. No +t looking for someone to do my job, just some help on how to continue +. <P>this is what I was trying: <H4>@entry[0..2]= split /\d+/, $_;<br> print "$entry[0]\n";<br> $_=~/\[(n+)\]/;<br> print "$1\n";<br> @trans[0..2]= split /:(\s\s)/, $_;<br> print "$trans[0]\n";<br></H4> <p><b>ignoramus</b> 16800 "behavior - man <b>[n]</b>: <b>ignoran +te</b> [m]; <b>néscio</b> [m]" "behavior - woman [n]: <b>ignorante +</b> [f]; <b>néscia</b> [f]"</p><br> <p><b>ignition</b> 16795 general <b>[n</b>]: <b>ignicion</b> [f] + internal-combustion engine [n]: <b>ignicion2</b> [f]</p><br><br>< +br> ----------<br> <p>I should get this i.e. the lines above split into only three column +s and only this info should be displayed..:</p> <P> X Y Z <P>ignoramus ignorante n <P>ignoramus ignorante n <P>ignoramus nescio n <P>ignoramus nescia n <br> <P>ignition ignicion n <P>ignition ignicion2 n <br><br> <p>Many thanks for any suggestions. And as you can see, I am new in pr +ogramming, I'm a linguist.

In reply to making a list-beginner by gatogato

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.