Skip to content

Commit 02d208c

Browse files
committed
PPC0028: fix a couple of minor typos
1 parent 813a67a commit 02d208c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ppcs/ppc0028-custom-prefix-postfix-operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ struct Perl_custom_operator {
6565

6666
There is however a possiblity of a conceptual clash with the other "custom operators" idea, which was added in Perl 5.14 and allows new kinds of opcodes in generated optrees whose behaviour is provided by XS functions. Those are not "operators" in the syntax sense of the word.
6767

68-
Likewise, the `XS::Parse;:Infix` module would get renamed to `XS::Parse::Operator`, and allow for expanded API to support these new operator shapes.
68+
Likewise, the `XS::Parse::Infix` module would get renamed to `XS::Parse::Operator`, and allow for expanded API to support these new operator shapes.
6969

7070
## Backwards Compatibility
7171

@@ -83,7 +83,7 @@ It is easily possible to come up with trivial "syntax neatening" of existing ope
8383

8484
```perl
8585
use Syntax::Operator::Square; ## provides postfix ²
86-
use Syntax::Operator::SqureRoot; ## provides prefix √
86+
use Syntax::Operator::SquareRoot; ## provides prefix √
8787

8888
my $hyp = √($x² + $y²);
8989

0 commit comments

Comments
 (0)