On Wed, Feb 11, 2009 at 11:45 AM, David Nicol <[email protected]> wrote:
> What's the advantage of Devel::REPL over using the command line
> switches to make your own REPL?
>
>  perl -nle 'print eval $_'
>
> Well, that won't buffer open curlies, so that's one thing.  Does
> Devel::REPL gracefully handle scoping and open contexts and stuff like
> that?

Yeah, it does this a lot better:

amo...@titan:~$ perl -nle 'print eval $_'
my $foo = 5;
5
$foo++
0

-A
_______________________________________________
kc mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/kc

Reply via email to