Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby's irb equivalent in Perl?

Tags:

ruby

perl

irb

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

like image 434
Abhishek Avatar asked Dec 08 '10 15:12

Abhishek


1 Answers

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.

like image 102
mob Avatar answered Oct 14 '22 01:10

mob