|
|
| Just another Perl shrine | |
| PerlMonks |
Re: construct a matrix by different intervalsby fmerges (Chaplain) |
| on Aug 19, 2007 at 19:34 UTC ( [id://633647]=note: print w/replies, xml ) | Need Help?? |
|
Hi, You can use a HoH
Using something like this for generating it:
Update: Later if you want to output it, you could do something like this:
I know, it's not so nice, but... if it's a throw away problem... For the thing of having a fancy output, you can use format or take a look on CPAN, I remember to see some modules for producing a tabular ASCII output Update 2: Yes GrandFather, you're right, I just saw the "interval" thing :-) Regards,
fmerges at irc.freenode.net
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||