Then I lied as both Devel::REPL and the standard perl debugger with a
trivial script (perl -de1) will provide you with the read, print,
eval loop you want.
Thanks for your help.
I have two computers, both PCs, one running Windows XP and the other
Red Hat 7.3, both with Perl 5.8. On my Windows machine, PPM can't find
Devel-REPL and CPAN doesn't work (this is running ActiveState). On my
Linux machine, CPAN reported a successful install of Devel-REPL but
can't find it. I don't have time to look at it today, but I'll follow
up on it.
As to the Debugger, I use it occasionally, but it's pretty creaky
compared to the debugger in, say, Visual Studio. In EMACS, you can
compile and load in one key chord and run your compiled code IN THE
SAME ENVIRONMENT. IOW, the editor, run time, and interpreter all work
together. You can modify the same function a dozen times and run it in
a couple of minutes, and you can also look at the stack trace if you
want to. This is NOT how the Perl debugger works.
CC