what I'm trying to do - it's to extract the data from the file that is not a table but arranged in 8 columns separated by space (which i can separate
[split(' ',$_, 8)]
the next step is to search "the type" array for certain information, select only those. from there- using id (different column) and the coordinates also different column, to fish that part of the data from another file containing many id with their data- including the ones i need
so
i want to find the type, select for this. then i have to select for other parameters in other columns in the same way, then match the id to the coordinates - hash (of start -end joined into one information by join subroutine, that will return the parameters as regular expression that can be matched)?
search the other file for the same ids, select only those and then fish out the part of the data i need and select it before i go any further....
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.