File tree 7 files changed +61
-12
lines changed
7 files changed +61
-12
lines changed Original file line number Diff line number Diff line change 4
4
========================
5
5
6
6
7
- * scalar variables
7
+ * [ scalar variables] ( #scalar-variables )
8
8
* file IO: ` slurp ` , ` spurt ` and test op
9
9
* shell IO: ` say ` , ` prompt `
10
10
* conditionals: ` if ` , ` elsif ` , ` else ` and as statement modifier
11
11
* comparison ops (` > ` , ` eq ` )
12
12
* single ('') and double ("") quoting
13
13
* 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
+
Original file line number Diff line number Diff line change 1
1
2
2
3
- #Perl 6 for problem solver - Chapter 2
3
+ [ Chapter 2] ( ../menu.md )
4
+ ========================
4
5
5
6
6
7
* array variables
10
11
* loops: ` loop ` (both uses)
11
12
* conditionals: ` given ` , ` when ` , ` default `
12
13
* numeric context: ` + `
14
+
15
+
16
+
17
+ [ ^ Up^ ] (#chapter-2)
18
+
Original file line number Diff line number Diff line change 1
1
2
2
3
- #Perl 6 for problem solver - Chapter 3
3
+ [ Chapter 3] ( ../menu.md )
4
+ ========================
4
5
5
6
6
7
* ternary op: ` ?? !! `
13
14
14
15
15
16
$/[ 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)
Original file line number Diff line number Diff line change 1
1
2
2
3
- #Perl 6 for problem solver - Chapter 4
3
+ [ Chapter 4] ( ../menu.md )
4
+ ========================
4
5
5
6
6
7
* hash variables
@@ -21,3 +22,9 @@ $/<msg> aka $<msg>
21
22
when /^ r \s* <digit>+/ { splice @note, $/<[0], 1 if 0 <= $/[0] < +@note }
22
23
23
24
my token pos { \d+ }
25
+
26
+
27
+
28
+
29
+ [ ^ Up^ ] (#chapter-4)
30
+
Original file line number Diff line number Diff line change 1
1
2
2
3
- #Perl 6 for problem solver - Chapter 5
3
+ [ Chapter 5] ( ../menu.md )
4
+ ========================
4
5
5
6
6
7
* subroutines
7
- * types ans nested types
8
- * signatures with [ return] types, optional parameter, default value
8
+ * types and nested types
9
9
* 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
+
Original file line number Diff line number Diff line change 1
1
2
2
3
- #Perl 6 for problem solver - Chapter 6
3
+ [ Chapter 6] ( ../menu.md )
4
+ ========================
4
5
5
6
6
7
* object and classes
7
- * methods
8
+ * methods
9
+ * multi method dispatch (MMD)
10
+
11
+
12
+
13
+
14
+ [ ^ Up^ ] (#chapter-6)
Original file line number Diff line number Diff line change 1
1
#Perl 6 for problem solver
2
-
2
+
3
3
+ [ Chapter 0] ( /chapter/text0.md ) ....... [ Main Program] ( /chapter/bn0.pl6 )
4
4
+ [ Chapter 1] ( /chapter/text1.md ) ....... [ Main Program] ( /chapter/bn1.pl6 )
5
5
+ [ Chapter 2] ( /chapter/text2.md ) ....... [ Main Program] ( /chapter/bn2.pl6 )
12
12
+ Chapter 9
13
13
+ Chapter 10
14
14
+ Chapter 11
15
+ + Chapter 12
16
+
17
+
18
+ Just click on links, clicking on headings brings you one level up.
19
+
You can’t perform that action at this time.
0 commit comments