<p>Is there an equivalent to Java's Robot class (java.awt.Robot) for Perl?</p>

[{'answer_id': 79976, 'author': 'bmdhacks', 'author_id': 14032, 'author_profile': 'https://Stackoverflow.com/users/14032', 'pm_score': 1, 'selected': False, 'text': '<p>There is on Linux/Unix:</p>\n\n<p><a href="http://sourceforge.net/projects/x11guitest" rel="nofollow noreferrer"><a href="http://sourceforge.net/projects/x11guitest" rel="nofollow noreferrer">http://sourceforge.net/projects/x11guitest</a></a></p>\n\n<p>I\'m not familiar of anything similar for Windows or Mac that uses Perl.</p>\n'}, {'answer_id': 80004, 'author': 'Fhoxh', 'author_id': 14785, 'author_profile': 'https://Stackoverflow.com/users/14785', 'pm_score': 2, 'selected': False, 'text': '<p>If you\'re looking for a way to control a browser for the purpose of functional testing, Selenium has Perl bindings: <a href="http://selenium.openqa.org/" rel="nofollow noreferrer">http://selenium.openqa.org/</a></p>\n'}, {'answer_id': 80399, 'author': 'cjm', 'author_id': 8355, 'author_profile': 'https://Stackoverflow.com/users/8355', 'pm_score': 2, 'selected': False, 'text': '<p>For X (Linux/Unix), there\'s <a href="http://search.cpan.org/perldoc?X11::GUITest" rel="nofollow noreferrer">X11::GUITest</a>.</p>\n\n<p>For Windows, there\'s <a href="http://search.cpan.org/perldoc?Win32::CtrlGUI" rel="nofollow noreferrer">Win32::CtrlGUI</a>, although it can be a bit tricky to install its prerequisites.</p>\n'}, {'answer_id': 83794, 'author': 'Mr. Muskrat', 'author_id': 2657951, 'author_profile': 'https://Stackoverflow.com/users/2657951', 'pm_score': 2, 'selected': False, 'text': '<p>On Windows, I\'ve always used <a href="http://search.cpan.org/~karasik/Win32-GuiTest-1.54/lib/Win32/GuiTest.pm" rel="nofollow noreferrer">Win32::GuiTest</a>.</p>\n'}, {'answer_id': 87112, 'author': 'Bob_Gneu', 'author_id': 16703, 'author_profile': 'https://Stackoverflow.com/users/16703', 'pm_score': 3, 'selected': False, 'text': '<p>Alternatively, you can surely use the <a href="http://search.cpan.org/~petdance/WWW-Mechanize-1.34/lib/WWW/Mechanize.pm" rel="nofollow noreferrer">WWW::Mechanize</a> module to create an agent as we do here at work. We have a tool called AppMon that is really just a dramatized wrapper around Mechanize. </p>\n\n<p>The Mechanize module allows you to use scripts that look a lot like this: </p>\n\n<pre><code>use WWW::Mechanize;\n\nmy $Agent = WWW::Mechanize-&gt;new(cookie_jar =&gt; {});\n\n$Agent-&gt;get("http://www.google.com/search?q=stack+overflow+mechanize");\nprint "Found Mechanize" $Agent-&gt;content =~ /WWW::Mechanize/;\n</code></pre>\n\n<p>and will result in "Found Mechanize" being output. This is a very simple script, but rest assured you can interact with forms quite well.</p>\n\n<p>You can also move to Ruby and use Watir, or Selenium as another alternative, albeit not as interesting (in terms of coding) or automate-able. Selenium has a firefox extension that is quite useful for creating the selenium scripts and can change them between the various languages that it supports, which is pretty extensive in terms of automation.</p>\n\n<h2>Update - Nov 2016</h2>\n\n<p>Although I haven\'t had much of an opportunity to play with it, there are also webdriver packages for most languages, and Perl is no different. </p>\n\n<p><a href="http://search.cpan.org/~aivaturi/Selenium-Remote-Driver-0.15/lib/Selenium/Remote/Driver.pm" rel="nofollow noreferrer">Selenium::Remote::Driver</a></p>\n'}]
['https://Stackoverflow.com/questions/79935', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/14948/']