Reputation: 79
I'm from Ruby background. Just wanted to know if there is anything like Ruby's irb in perl?
Upvotes: 7
Views: 1049
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