You also get readline support so you can use arrow keys to go back to a
previous line and edit. You have a configurable prompt. It
automatically dumps the value of the current expression. You can
configure tab completion and a number of other plugins as well. You can
also write plugins if you want to extend the interface for some reason,
so you haven't lost anything other than having to spend some time
learning how to write plugins for it.<br>
<br>Cheers,<br><font color="#888888">Sterling</font><br><br><div class="gmail_quote">On Wed, Feb 11, 2009 at 12:54 PM, Andrew Moore <span dir="ltr">&lt;<a href="mailto:amoore@mooresystems.com">amoore@mooresystems.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Wed, Feb 11, 2009 at 11:45 AM, David Nicol &lt;<a href="mailto:davidnicol@gmail.com">davidnicol@gmail.com</a>&gt; wrote:<br>

&gt; What&#39;s the advantage of Devel::REPL over using the command line<br>
&gt; switches to make your own REPL?<br>
&gt;<br>
&gt; &nbsp;perl -nle &#39;print eval $_&#39;<br>
&gt;<br>
&gt; Well, that won&#39;t buffer open curlies, so that&#39;s one thing. &nbsp;Does<br>
&gt; Devel::REPL gracefully handle scoping and open contexts and stuff like<br>
&gt; that?<br>
<br>
</div>Yeah, it does this a lot better:<br>
<br>
amoore@titan:~$ perl -nle &#39;print eval $_&#39;<br>
my $foo = 5;<br>
5<br>
$foo++<br>
0<br>
<font color="#888888"><br>
-A<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
kc mailing list<br>
<a href="mailto:kc@pm.org">kc@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/kc" target="_blank">http://mail.pm.org/mailman/listinfo/kc</a><br>
</div></div></blockquote></div><br>