Variable: cperl-here-doc-functions

cperl-here-doc-functions is a variable defined in cperl-mode.el.gz.

Value

"\\_<\\(exec\\|printf?\\|s\\(?:ay\\|ort\\|ystem\\)\\)\\_>"

Documentation

List of keywords after which $var <<bareword is a here-document.

After any other token $var <<bareword is treated as the variable $var left-shifted by the return value of the function bareword.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cperl-mode.el.gz
(defvar cperl-here-doc-functions
  (regexp-opt '("print" "printf" "say"  ; print $handle <<EOF
                "system" "exec"         ; system $progname <<EOF
                "sort")                 ; sort $subname <<EOF
              'symbols)                 ; avoid false positives
  "List of keywords after which `$var <<bareword' is a here-document.
After any other token `$var <<bareword' is treated as the variable `$var'
left-shifted by the return value of the function `bareword'.")