Skip to content

Commit fa8da12

Browse files
committed
added links to authors and licens
1 parent d908662 commit fa8da12

File tree

6 files changed

+11
-8
lines changed

6 files changed

+11
-8
lines changed

Diff for: AUTHORS

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
Herbert Breunung <[email protected]>

Diff for: README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22

33
* extensive Perl 6 tutorial covers all major language parts,
44
* building step by step (chapter by chapter) an useful application,
5-
* has parallel Perl 5 tutorial under [bitbucket](https://bitbucket.org/lichtkind/perl-tut-problem-solver)
5+
* has parallel Perl 5 tutorial under [bitbucket](https://bitbucket.org/lichtkind/perl-tut-problemsolver)
66
* start reading from [Menu](/menu.md)
7+
* published under the [license](/LICENSE) CC BY-SA 4.0
8+
* written by [Authors](AUTHORS)

Diff for: chapter_2/bn2.pl6

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use v6;
22

33
my $file = 'notes2.txt';
44
my @note;
5-
65
@note = lines $file.IO if $file.IO.r;
76

87
say 'Press h and <Enter> for help, just <Enter> to exit.';

Diff for: chapter_3/bn3.pl6

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ loop {
88
for @note.kv {say "$^nr : $^text"}
99

1010
given prompt 'Write a new note? ' {
11-
when /^$/ { last }
11+
when '' { last }
12+
when 'da' { @note = () }
1213
when /^ \s+(.+)/ { push @note, $0 }
1314
when /^a\s*(.+)/ { push @note, $0 }
1415
when /^p\s*(.+)/ { unshift @note, $0 }
@@ -20,7 +21,6 @@ loop {
2021
splice( @note, $1, 0, splice( @note, $0, 1));
2122
}
2223
}
23-
when '^da$' { @note = (); }
2424
default {
2525
say q:to/END/;
2626
general format: <1 letter = command> <voluntary space> ...

Diff for: chapter_4/bn4.pl6

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ loop {
88
for @note.kv {say "$^nr : $^text"}
99

1010
given prompt 'Write a new note? ' {
11-
when /^$/ { last }
11+
when '' { last }
12+
when 'da' { @note = () }
1213
when /^ \s+(.+)/ { push @note, $0 }
1314
when /^a\s*(.+)/ { push @note, $0 }
1415
when /^p\s*(.+)/ { unshift @note, $0 }
@@ -20,7 +21,6 @@ loop {
2021
splice( @note, $1, 0, splice( @note, $0, 1));
2122
}
2223
}
23-
when '^da$' { @note = (); }
2424
default {
2525
say q:to/END/;
2626
general format: <1 letter = command> <voluntary space> ...

Diff for: menu.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
+ [Chapter 2](/chapter_2/text2.md) [Code](/chapter_2/bn2.pl6)
55
+ [Chapter 3](/chapter_3/text3.md) [Code](/chapter_3/bn3.pl6)
66
+ [Chapter 4](/chapter_4/text4.md) [Code](/chapter_4/bn4.pl6)
7-
+ Chapter 5
8-
+ Chapter 6
7+
+ [Chapter 5](/chapter_5/text5.md) [Code](/chapter_5/bn5.pl6)
8+
+ [Chapter 6](/chapter_6/text6.md) [Code](/chapter_6/bn6.pl6)
99
+ Chapter 7
1010
+ Chapter 8
1111
+ Chapter 9

0 commit comments

Comments
 (0)