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