Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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 sheetI am trying to catch the Qname,Sname and Ids in a ID hash:Qname1 Qname2 Subname1 percent ID1 percent ID2
I am unable to figureout how to print them in the format i wanted.push(@{$idmatrix{$qname}},$qname[$q]); push(@{$idmatrix{$id[$q][$s]}},$id); push(@{$idmatrix{$sname}},$sname[$s]);
Also how to avoid repeated names in the hash;
Please ...please help me.
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HASH HELP PLEASE
by pc88mxer (Vicar) on Jun 01, 2008 at 16:34 UTC | |
|
Re: HASH HELP PLEASE
by apl (Monsignor) on Jun 01, 2008 at 16:09 UTC | |
by Anonymous Monk on Jun 01, 2008 at 16:19 UTC | |
by MidLifeXis (Monsignor) on Jun 01, 2008 at 17:06 UTC | |
by apl (Monsignor) on Jun 01, 2008 at 18:02 UTC | |
by McDarren (Abbot) on Jun 02, 2008 at 01:11 UTC | |
|
Re: HASH HELP PLEASE
by pc88mxer (Vicar) on Jun 01, 2008 at 18:17 UTC |