Answer the question
In order to leave comments, you need to log in
Dynamic table output to STDOUT?
Good afternoon, tell me how to organize the output of a dynamic table in STDOUT?
Once every 3 seconds, the script dumps its current values to STDOUT, now it looks like this:
col1: 123 col2 123 col3: 234
col1: 123 col2 123 col3: 234
col1: 123 col2 123 col3: 234
| 123 | 234 | 345 | 456 | 567 | 678 | 789 |
| 123 | 234 | 345 | 456 | 567 | 678 | 789 |
| 123 | 234 | 345 | 456 | 567 | 678 | 789 |
| 123 | 234 | 345 | 456 | 567 | 678 | 789 |
тут новые значения
+-------+-------+-------+-------+-------+-------+-------+
| col1 | col2 | col3 | col4 | col5 | col6 | col7 |
+-------+-------+-------+-------+-------+-------+-------+
Answer the question
In order to leave comments, you need to log in
I think https://metacpan.org/pod/Text::ASCIITable is the right direction
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question