in reply to Re^4: Using a Hash Variable in an If Statement
in thread Using a Hash Variable in an If Statement

One final question. Do you have an idea about how to print each each number (and its respective times) to a different column, using sprintf?

You can use the documentation that comes with your perl installation like so: perldoc -f sprintf from your CLI and read all about it.
Try out what you have read and if you are still having problems with it, post such.
The answer you seek is just right on your keyboard. :)

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me