3.3 Evaluation
When interactive Perl is running, Sepia can evaluate regions of code in
the inferior Perl process. The following commands assume that this
process has already been started by calling sepia-repl
.
- C-M-x
- M-x sepia-eval-defun
- Evaluate the function around point in the inferior Perl process.
- C-c C-l
- M-x sepia-load-file
- Save the current buffer, then reload its file and if warnings or errors
occur, display an error buffer. With a prefix argument, also rebuild
the cross-reference index.
- C-c e
- M-x sepia-eval-expression <RET> expr <RET>
- Evaluate expr in scalar context and echo the result. With a
prefix argument, evaluate in list context.
- sepia-set-cwd
-