* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
[bpt/emacs.git] / test / indent / perl.perl
CommitLineData
b08b6da7
SM
1#!/usr/bin/perl
2# -*- eval: (bug-reference-mode 1) -*-
3
323885fd
SM
4print <<"EOF1" . s/he"llo/th'ere/;
5foo
6EOF2
7bar
8EOF1
9
10
11print <<"EOF1" . <<\EOF2 . s/he"llo/th'ere/;
12foo
13EOF2
14bar
15EOF1
16bar
17EOF2
18
062e286b
SM
19print $'; # This should not start a string!
20
21print "hello" for /./;
22
b08b6da7
SM
23$fileType_filesButNot # bug#12373?
24 = join( '|', map { quotemeta($_).'$' } @{$fileType->{filesButNot}} );