go ahead... be a heretic | |
PerlMonks |
using perldebugger as REPL?by LanX (Saint) |
on Dec 19, 2008 at 22:43 UTC ( [id://731680]=perlquestion: print w/replies, xml ) | Need Help?? |
LanX has asked for the wisdom of the Perl Monks concerning the following question:
Hi
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? Cheers Rolf UPDATES: similar threads I found
Back to
Seekers of Perl Wisdom
|
|