Skip to content

Commit 8e2fb0f

Browse files
committed
linking all chapter
1 parent be15397 commit 8e2fb0f

File tree

7 files changed

+61
-12
lines changed

7 files changed

+61
-12
lines changed

chapter/text1.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,21 @@
44
========================
55

66

7-
* scalar variables
7+
* [scalar variables](#scalar-variables)
88
* file IO: `slurp`, `spurt` and test op
99
* shell IO: `say`, `prompt`
1010
* conditionals: `if`, `elsif`, `else` and as statement modifier
1111
* comparison ops (`>`, `eq`)
1212
* single ('') and double ("") quoting
1313
* string context and concatenation `~`
14-
* `exit` main program
14+
* `exit` main program
15+
16+
17+
18+
[Scalars Variables](#chapter-1)
19+
-------------------------------
20+
21+
22+
23+
[^Up^](#chapter-1)
24+

chapter/text2.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22

3-
#Perl 6 for problem solver - Chapter 2
3+
[Chapter 2](../menu.md)
4+
========================
45

56

67
* array variables
@@ -10,3 +11,8 @@
1011
* loops: `loop` (both uses)
1112
* conditionals: `given`, `when`, `default`
1213
* numeric context: `+`
14+
15+
16+
17+
[^Up^](#chapter-2)
18+

chapter/text3.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22

3-
#Perl 6 for problem solver - Chapter 3
3+
[Chapter 3](../menu.md)
4+
========================
45

56

67
* ternary op: `?? !!`
@@ -13,4 +14,8 @@
1314

1415

1516
$/[0] $()/[0] $0
16-
style for first, last easy to overlook
17+
style for first, last easy to overlook
18+
19+
20+
21+
[^Up^](#chapter-3)

chapter/text4.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22

3-
#Perl 6 for problem solver - Chapter 4
3+
[Chapter 4](../menu.md)
4+
========================
45

56

67
* hash variables
@@ -21,3 +22,9 @@ $/<msg> aka $<msg>
2122
when /^ r \s* <digit>+/ { splice @note, $/<[0], 1 if 0 <= $/[0] < +@note }
2223

2324
my token pos { \d+ }
25+
26+
27+
28+
29+
[^Up^](#chapter-4)
30+

chapter/text5.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11

22

3-
#Perl 6 for problem solver - Chapter 5
3+
[Chapter 5](../menu.md)
4+
========================
45

56

67
* subroutines
7-
* types ans nested types
8-
* signatures with [return] types, optional parameter, default value
8+
* types and nested types
99
* self made subtypes
10+
* signatures with (return) types
11+
* optional parameter with default values
12+
* write and use modules
13+
* exporting and improting from a module
14+
15+
16+
17+
[^Up^](#chapter-5)
18+

chapter/text6.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11

22

3-
#Perl 6 for problem solver - Chapter 6
3+
[Chapter 6](../menu.md)
4+
========================
45

56

67
* object and classes
7-
* methods
8+
* methods
9+
* multi method dispatch (MMD)
10+
11+
12+
13+
14+
[^Up^](#chapter-6)

menu.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Perl 6 for problem solver
2-
2+
33
+ [Chapter 0](/chapter/text0.md) ....... [Main Program](/chapter/bn0.pl6)
44
+ [Chapter 1](/chapter/text1.md) ....... [Main Program](/chapter/bn1.pl6)
55
+ [Chapter 2](/chapter/text2.md) ....... [Main Program](/chapter/bn2.pl6)
@@ -12,3 +12,8 @@
1212
+ Chapter 9
1313
+ Chapter 10
1414
+ Chapter 11
15+
+ Chapter 12
16+
17+
18+
Just click on links, clicking on headings brings you one level up.
19+

0 commit comments

Comments
 (0)