Abhishek
Abhishek

Reputation: 79

Ruby's irb equivalent in Perl?

I'm from Ruby background. Just wanted to know if there is anything like Ruby's irb in perl?

Upvotes: 7

Views: 1049

Answers (4)

LeoB
LeoB

Reputation: 256

Also see Devel::REPL and iPerl.

Upvotes: 6

javs
javs

Reputation: 808

Not exactly what you wanted, but psh is nice.

Upvotes: 1

mob
mob

Reputation: 118625

Yes, there is the perl debugger. The canonical command is

perl -de 1

to open an interactive session where you can execute arbitrary Perl statements.

See perldoc perldebug for documentation.

Upvotes: 9

Eugene Yarmash
Eugene Yarmash

Reputation: 149893

Check the Perl::Shell module or the psh shell.

Upvotes: 6

Related Questions