Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Hey, that's nifty.

    But having ~/bin/eval may get confusing, the name clashing with the buit-in shell command eval. perleval would be less confusing (and a longer name doesn't really matter, since your mapping does the typing for you).

  • Nice idea. I used it in my .emacs but slightly differently. This evals the contents of the current region w/ perl-run-snippet-command and inserts it afterward as comments.

    (defvar perl-run-snippet-command
      "Command for running perl for `perl-run-snippet'")
    (defun perl-run-snippet (start end)
      "Execute `perl-run-snippet-command' on the current region. Insert the results as comments."
      (interactive "r")
      (let ((buffer (current-buffer))