File: variables-regular-expressions.txt

package info (click to toggle)
libperl-critic-perl 1.156-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 3,544 kB
  • sloc: perl: 24,092; lisp: 341; makefile: 7
file content (7 lines) | stat: -rw-r--r-- 371 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
/\$\[/         # Comment on same line as meaningful content.

# Lack of whitespace between regex and message intentional.
/\$SIG\{__DIE__\}/Do not use $SIG{__DIE__}. Use END{} or override CORE::GLOBAL::die() instead.

# Extra leading and trailing whitespace here is intentional.
    /\$\^S/	Found use of $^S. You should seriously consider what your code is trying to do.