• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

perl or unix ? question

calbear2000

Golden Member
I want my script to print out a message to STDOUT every 5 seconds... any ideas how I can do this simple task?

Thanks!
 
You could keep running it in one tty, or maybe write the perl program as a daemon? though I can't think of a reason why you'd want a tex STDOUT output every 5 seconds. care to share?
 
inside a loop call
sleep(5);
print("Some message");

I don't have any perl books handy to give you proper syntax - they're all at work and I haven't used it in about 3 years.

Dave
 
Back
Top