declare smobs in alloc.c
[bpt/emacs.git] / test / indent / perl.perl
CommitLineData
b08b6da7
SM
1#!/usr/bin/perl
2# -*- eval: (bug-reference-mode 1) -*-
3
5d03fb43
SM
4use v5.14;
5
6my $str= <<END;
7Hello
8END
9
10my $a = $';
11
12my $b=3;
13
14print $str;
c0868451
SM
15if ($c && /====/){xyz;}
16
5ba339c7
SM
17print "a" . <<EOF . s/he"llo/th'ere/;
18It's a surprise!
19EOF
20
21print <<\EOF1 . s/he"llo/th'ere/;
323885fd
SM
22foo
23EOF2
24bar
25EOF1
26
27
28print <<"EOF1" . <<\EOF2 . s/he"llo/th'ere/;
29foo
30EOF2
31bar
32EOF1
33bar
34EOF2
35
062e286b
SM
36print $'; # This should not start a string!
37
38print "hello" for /./;
39
b08b6da7
SM
40$fileType_filesButNot # bug#12373?
41 = join( '|', map { quotemeta($_).'$' } @{$fileType->{filesButNot}} );