Skip to content

Commit

Permalink
Merge 3e1a210 into 84aff4f
Browse files Browse the repository at this point in the history
  • Loading branch information
polettix committed Dec 20, 2017
2 parents 84aff4f + 3e1a210 commit aadade1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Sub/Infix.pm
Expand Up @@ -129,12 +129,12 @@ operator that can be used like this:
Instead, the operator needs to be wrapped with real Perl operators in
one of three ways:
my $five = 2 |plus| 3;
my $five = 2 /plus/ 3;
my $five = 2 <<plus>> 3;
my $five = 2 |plus| 3;
The advantage of this is that it gives you three different levels of
operator precedence.
operator precedence (decreasing order in the example above).
You can also call the function a slightly less weird way:
Expand Down

0 comments on commit aadade1

Please sign in to comment.