How can I start an interactive console for Perl?

ibz picture ibz · Sep 16, 2008 · Viewed 129.9k times · Source

How can I start an interactive console for Perl, similar to the irb command for Ruby or python for Python?

Answer

Daniel Papasian picture Daniel Papasian · Sep 16, 2008

You can use the perl debugger on a trivial program, like so:

perl -de1

Alternatively there's Alexis Sukrieh's Perl Console application, but I haven't used it.