http://www.perlmonks.org?node_id=342319


in reply to Re: Ideas for implementing pShell
in thread Ideas for implementing pShell

Win32::GUITest might give you some ideas, too. I've only just started using it, but it has a lot of potential.