A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 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
|
||||
5
Task/Here-document/Perl/here-document-6.pl
Normal file
5
Task/Here-document/Perl/here-document-6.pl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
print(<<EOF
|
||||
Mary had
|
||||
a little
|
||||
EOF
|
||||
. "lamb\n");
|
||||
Loading…
Add table
Add a link
Reference in a new issue