Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: printing out a matrix for a data list

by lima1 (Curate)
on Aug 05, 2006 at 13:50 UTC ( [id://565796]=note: print w/replies, xml ) Need Help??


in reply to printing out a matrix for a data list

Fix the output? Or the matrix filling code?

One problem I see in the output code is that you don't treat missing values. Probably you should iterate over all objects.

my %all = ( %rows, %cols ) my @objs = keys %all;
UPDATE: Another (or the?) problem I see is that you don't remove the newline in your data. chomp should fix this.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://565796]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found