1 |
;;; cperl-mode.el --- Perl code editing commands for Emacs |
;;; cperl-mode.el --- Perl code editing commands for Emacs |
2 |
|
|
3 |
;; Copyright (C) 1985,86,87,91,92,93,94,95,96,97,98,99,2000,03,2004 |
;; Copyright (C) 1985,86,87,91,92,93,94,95,96,97,98,99,2000,03,2004,2005 |
4 |
;; Free Software Foundation, Inc. |
;; Free Software Foundation, Inc. |
5 |
|
|
6 |
;; Author: Ilya Zakharevich and Bob Olson |
;; Author: Ilya Zakharevich and Bob Olson |
713 |
|
|
714 |
The main trick (to make $ a \"backslash\") makes constructions like |
The main trick (to make $ a \"backslash\") makes constructions like |
715 |
${aaa} look like unbalanced braces. The only trick I can think of is |
${aaa} look like unbalanced braces. The only trick I can think of is |
716 |
to insert it as $ {aaa} (legal in perl5, not in perl4). |
to insert it as $ {aaa} (valid in perl5, not in perl4). |
717 |
|
|
718 |
Similar problems arise in regexps, when /(\\s|$)/ should be rewritten |
Similar problems arise in regexps, when /(\\s|$)/ should be rewritten |
719 |
as /($|\\s)/. Note that such a transposition is not always possible. |
as /($|\\s)/. Note that such a transposition is not always possible. |