Vijay,

Welcome to the Monastery

All the other admonishments apply. That said, thank you for reformatting your message; it really was hard to visualize the data without that effort.

There is at least one further challenge here: the term "table" can mean a lot of different things, and how you would go about solving this problem varies greatly depending on what form the table takes and how it is generated, not to mention how it will be made available to your Perl script.

I understand you feel a sense of urgency about this task, but we really can't help unless we understand the problem -- and while your original post does, at least, show some data and gives a fair sense of the big picture, it does not have enough to just haul off and start writing code.

For example, if it is a table in a database, we'd perhaps look at ways to use one of the DBImodules; on the other hand, if it's in a spreadsheet, perhaps one of the Parse::Spreadsheetmodules. Raw rext file? Perhaps the use of splitor substr, depending on the specifics. The list goes on and on.

We'd like to help, but we need more information -- as well as a sense that you are seeking help and not a free supplicant to do your job for you.

I am interested to see where this thread goes, and I hope we can ultimately be of Service.


In reply to Re: parsing values from table ..using Perl by marinersk
in thread parsing values from table ..using Perl by get2vijay

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.