MrGuy has asked for the wisdom of the Perl Monks concerning the following question:

I deal with several different programs I'd like to macro that are essentially text based in nature, such as Word, TeraTerm, things of that nature. What I'd like in meta is:
while( true ) { ReadTextFromWindow(Handle); if( qr/"Whatever triggers I need"/) { AddTextToWindow(Handle); } }
The closes I can find in CPAN is Win32::CtrlGUI and that doesn't seem quite right. Clues?