Backport NEWS typo fix
[emacs.git] / test / indent / perl.perl
blobaca478a1375285bd7acaa1db2c07c1553330dce3
1 #!/usr/bin/perl
2 # -*- eval: (bug-reference-mode 1) -*-
4 use v5.14;
6 my $str= <<END;
7 Hello
8 END
10 my $a = $';
12 my $b=3;
14 print $str;
15 if ($c && /====/){xyz;}
17 print << "EOF1" . s/he"llo/th'ere/;
18 foo
19 EOF2
20 bar
21 EOF1
24 print <<"EOF1" . <<\EOF2 . s/he"llo/th'ere/;
25 foo
26 EOF2
27 bar
28 EOF1
29 bar
30 EOF2
32 print $'; # This should not start a string!
34 print "hello" for /./;
36 $fileType_filesButNot # bug#12373?
37 = join( '|', map { quotemeta($_).'$' } @{$fileType->{filesButNot}} );