in reply to using perl to "press enter"
This seems to work for me:
use strict; use warnings; use Win32::Console; my $console = Win32::Console->new( STD_OUTPUT_HANDLE ); my $timerlength = 5; # or whatever while ( 1 ) { sleep $timerlength; $console->Write( "\n" ); }
If you have ActiveState perl, Win32::Console is packaged with it.
|
---|
In Section
Seekers of Perl Wisdom