如何在不使用 Perl 清除的情况下更新屏幕上的值? [英] How can I update values on the screen without clearing it in Perl?
本文介绍了如何在不使用 Perl 清除的情况下更新屏幕上的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在屏幕上显示一组值并每 5 秒更新一次该值.我不想清屏.
I want to display a set of values on screen and update that value every 5 seconds. I don't want to clear the screen.
例如:
小时:1
分钟:30
秒:45
此处,值应相应更改.
我应该如何在 Perl 中做到这一点?
How should i do that in Perl?
问候,阿难
推荐答案
对于这种事情我喜欢使用 诅咒.它也不适用于 Perl.:)
For this sort of thing I like to use Curses. It's just not for Perl, either. :)
这篇关于如何在不使用 Perl 清除的情况下更新屏幕上的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文