Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: printf matrix

by Ratazong (Monsignor)
on Jan 06, 2014 at 13:42 UTC ( [id://1069511]=note: print w/replies, xml ) Need Help??


in reply to printf matrix

Hi,

I think the biggest problem in your solution is that all values are printed in one line. Instead you should start each $key in a new line. That way it would look more like a matrix, and you could improve the rest of your output.

The easiest way to solve this would be to change your third line to

print "\n$key ";
HTH, Rata

Log In?
Username:
Password:

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

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

    No recent polls found