So when in Emacs (or XEmacs or Aquamacs or whatever), using the following Emacs commands in sequence will open Perl's debug mode inside a horizontally split window:
C-x 2 C-x o M-x shell perl -de1And away you go.
Anything about Perl, Lisp, OS X, Linux, strongman, powerlifting, basketball, guitar and whatever else I'm interested in these days
C-x 2 C-x o M-x shell perl -de1And away you go.
there's supposedly a REPL module (Devel::REPL). Actually there may be lots of them.
ReplyDeleteThere's also SEPIA for Emacs: http://cpansearch.perl.org/src/SEANO/Sepia-0.97/Sepia.html
@Luke: After doing your steps in Emacs , how are you supposed to work with that setup ? I really don't get it. I guess the upper buffer is for editing and the lower buffer will evaluate the code. Right ? But how ?
ReplyDelete@paines: What I suggested is a very primitive, ad-hoc REPL. It doesn't do much. I often want to test one-liners and this is perfect for that.
ReplyDeleteIf you want a more integrated solution with Emacs (similar to SLIME for Lisp developers), then I think SEPIA (as suggested by jdac above) might be better suited, although I haven't personally used it.
I see. Okay. Thank you Luke for clarification. BR
ReplyDelete