Skip to content

Commit 3f3b363

Browse files
committed
Fix typos
1 parent f227573 commit 3f3b363

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

bin/rpn3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ multi infix:<rpn> (@stack, $op where /^ '+' | '-' | '*' | '/' $/) {
1818
[ @stack, $res ]
1919
}
2020
multi infix:<rpn> ($any, $unknown) {
21-
die "Unkown expression near $any $unknown";
21+
die "Unknown expression near $any $unknown";
2222
}
2323
say [rpn] [], (~@*ARGS).words;

cookbook/01strings/01-00introduction.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ =head1 Description
2424
2525
=head1 Declaring and assigning Strings
2626
27-
A string can be created explictly, by declaring a variable using the
27+
A string can be created explicitly, by declaring a variable using the
2828
Str keyword, and assigning a string value to it.
2929
3030
my Str $string = 'This Str is holding a String';

euler/prob012-polettix.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ ($x is copy)
9999
%factors_for{$x} = $result;
100100
}
101101

102-
# Return as a hash of (factor, occurences) pairs
102+
# Return as a hash of (factor, occurrences) pairs
103103
my %factors;
104104
%factors{$_}++ for $result.list;
105105
return %factors;

euler/prob029-gerdr.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
sub count-smartly(Int \A, Int \B --> Int) {
1111
my (%powers, %count);
1212

13-
# find bases which are powers of a preceeding root base
13+
# find bases which are powers of a preceding root base
1414
# store decomposition into base and exponent relative to root
1515
for 2..Int(sqrt A) -> \a {
1616
next if a ~~ %powers;

template_pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
=head1 TITLE
44
DESCRIPTION
55

6-
=head1 What's interesing here?
6+
=head1 What's interesting here?
77

88
=item feature1
99
=item feature2

0 commit comments

Comments
 (0)