Perl: the Markov chain saw | |
PerlMonks |
Re: transforming XY data to X and Multiple Y column data?by LanX (Saint) |
on Sep 27, 2010 at 09:31 UTC ( [id://862168]=note: print w/replies, xml ) | Need Help?? |
Hi For me it looks like that you simply need an "array of hashes" as datastructure, with the IDs as keys. The order of these keys should be preserved in an extra array (the "headline"). output would be simply:
Hope this gives you the basic idea how to do it by yourself. If data entries are to long for tab-delimiters you should have a look at format
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|