LanX has asked for the wisdom of the Perl Monks concerning the following question:
Hi
PS: I know Devel::REPL, but I wonder if it's possible in the debugger...
We've been discussing recently how handy REPL (=read-eval-print loop) is in several other languages like LISP or Python.
With perl -de0 it's possible to have a perl-shell to realize the REL-portions. But whats missing is printing!
So is it possible to enclose each line in print do {...} ???
I tried to use the debugger directives < and { but couldn't achieve that typing 10/2 results in printing 5:
Did I miss any autoprint option?DB<22> 10/2 5 DB<23>
Cheers Rolf
UPDATES: similar threads I found
Back to
Seekers of Perl Wisdom