Perl – How to start an interactive console for Perl

consoleinteractiveperlread-eval-print-loop

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

Best Solution

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.