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?