xref: /Universal-ctags/Units/parser-perl.r/skip-heredoc.d/input.pl (revision 08bf1b999d211d0a18de5b4e5f65ad0f8dbf1c51)
1sub myfunc0
2{
3}
4
5   print <<"foo", <<~\bar; # you can stack them
6    I said foo.
7sub myfunc1
8{
9}
10foo
11    I said bar.
12    sub myfunc2
13    {
14    }
15    bar
16
17sub myfunc3
18{
19}
20
21   myfunc0(<< "THIS", 23, <<'THAT');
22sub myfunc4
23{
24}
25Here's a line
26sub myfunc5
27{
28}
29or two.
30sub myfunc6
31{
32}
33THIS
34sub myfunc7
35{
36}
37and here's another.
38sub myfunc8
39{
40}
41THAT
42sub myfunc9
43{
44}
45
46myfunc0(<< "AB\"CD", << 'EF\GH');
47label0:
48sub myfunc10
49{
50label1:
51}
52label2:
53AB"CD
54sub myfunc11
55{
56label3:
57}
58label4:
59EF\GH
60
61sub myfunc12
62{
63   print "12\n";
64}
65myfunc12();
66