Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/Here-document/Perl/here-document-1.pl
Normal file
6
Task/Here-document/Perl/here-document-1.pl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
$address = <<END;
|
||||
1, High Street,
|
||||
$town_name,
|
||||
West Midlands.
|
||||
WM4 5HD.
|
||||
END
|
||||
5
Task/Here-document/Perl/here-document-2.pl
Normal file
5
Task/Here-document/Perl/here-document-2.pl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
$pancake = <<"NO MORE INGREDIENTS";
|
||||
egg
|
||||
milk
|
||||
flour
|
||||
NO MORE INGREDIENTS
|
||||
5
Task/Here-document/Perl/here-document-3.pl
Normal file
5
Task/Here-document/Perl/here-document-3.pl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
$x = <<'FOO';
|
||||
No
|
||||
$interpolation
|
||||
here
|
||||
FOO
|
||||
3
Task/Here-document/Perl/here-document-4.pl
Normal file
3
Task/Here-document/Perl/here-document-4.pl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
$output = <<`BAR`;
|
||||
ls /home
|
||||
BAR
|
||||
4
Task/Here-document/Perl/here-document-5.pl
Normal file
4
Task/Here-document/Perl/here-document-5.pl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
print(<<EOF . "lamb\n");
|
||||
Mary had
|
||||
a little
|
||||
EOF
|
||||
7
Task/Here-document/Perl/here-document-6.pl
Normal file
7
Task/Here-document/Perl/here-document-6.pl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
sub flibbertigibbet {
|
||||
print <<~END;
|
||||
Mary had
|
||||
a little
|
||||
lamb
|
||||
END
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue