This list of Tutorials on threads will bring you through how to have two things happen at once.
PS: Term::ANSIScreen will allow you position the cursor on the screen more legibly, also you should have a sleep(1); in the timer loop as otherwise it will hog too much of the processor
In reply to Re: Can I have a running clock within a script in Xterm?
by Utilitarian
in thread Can I have a running clock within a script in Xterm?
by westrock2000
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |