title: Perl: console / command-line tool for interactive code evaluation and testing
body: <p>Python offers an <a href="http://docs.python.org/2.7/tutorial/interpreter.html#tut-invoking" rel="nofollow noreferrer">interactive interpreter</a> allowing the evaluation of little code snippets by submitting a couple of lines of code to the console. I was wondering if a tool with similar functionality (e.g. including a history accessible with the arrow keys) also exists for Perl?</p>
  
  <p>There seem to be all kinds of solutions out there, but I can't seem to find any good recommendations. I.e. lots of tools are mentioned, but I'm interested in which tools people actually use and why. So, do you have any good recommendations, excluding the standard perl debugging (<code>perl -d -e 1</code>)? </p>
  
  <p>Here are some interesting pages I've had a look at:</p>
  
  <ul>
  <li><a href="http://perldoc.perl.org/perlfaq3.html#How-can-I-use-Perl-interactively?" rel="nofollow noreferrer">a question in the official Perl FAQ</a></li>
  <li><a href="https://stackoverflow.com/questions/73667/how-can-i-start-an-interactive-console-for-perl">another Stackoverflow question, where the answer mostly is the perl debugger and several links are broken</a></li>
  <li><a href="http://www.sukria.net/perlconsole.html" rel="nofollow noreferrer">Perl Console</a></li>
  <li><a href="http://gnp.github.io/psh/" rel="nofollow noreferrer">Perl Shell</a></li>
  </ul>