tags:

views:

648

answers:

3

I've grown accustomed to using IPython to try things out whilst learning Python, and now I have to learn Perl for a new job.

Is there anything out there like IPython for Perl? In particular, I'm interested in completion and access to help.

+1  A: 

You can have a less featurefull environment by using the debugger "stand-alone".

perl -de 42

(42 is just a constant in order to have a non null "script" loaded).

From there, you can use My::Module and so on. I'm not sure there is a full irb-like program.

Keltia
+14  A: 

I usually just use perl -de0, but I've heard of:

JB
I recommend Devel::REPL, really useful
melo
++ Devel::REPL, has a neat plugin system with lots of functionality.
brunov
A: 

From Perl FAQ:

Perl FAQ 3.7

Is there a perl shell?

Not really. Perl is a programming language, not a command interpreter.

This was the reason why I swhitched from Perl to Python. Anythow, several python shell workarounds do exist, but they are not even close to IPython

bgbg
the IRB is not a shell, it is a REPL
Noah Sussman