Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there anything like IPython / IRB for Perl?

Tags:

shell

perl

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.

like image 660
Matt Avatar asked Feb 17 '09 09:02

Matt


Video Answer


2 Answers

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

  • Devel::REPL
  • perlconsole
like image 125
JB. Avatar answered Sep 25 '22 23:09

JB.


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.

like image 36
Keltia Avatar answered Sep 26 '22 23:09

Keltia