Hi all,
I am trying to parse information from multiple files for some feilds.
My objective is to make a matrix out of those feilds.
for exanple:I have 3 feilds with queryname,subject name and percent ID.
I want to print in an excel sheet
Qname1 Qname2
Subname1 percent ID1 percent ID2
I am trying to catch the Qname,Sname and Ids in a ID hash:
push(@{$idmatrix{$qname}},$qname[$q]);
push(@{$idmatrix{$id[$q][$s]}},$id);
push(@{$idmatrix{$sname}},$sname[$s]);
I am unable to figureout how to print them in the format i wanted.
Also how to avoid repeated names in the hash;
Please ...please help me.
Thanks
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.