Skip to content

Commit

Permalink
Added explanation of the equivalent "not equals" operators. Thanks mo…
Browse files Browse the repository at this point in the history
…ritz! moritz's original text:

!= is a convenience, and you get !== by applying the ! meta operator to infix ==
  • Loading branch information
molecules committed Aug 3, 2010
1 parent abcc64c commit cc7c5a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/operators.pod
Expand Up @@ -468,6 +468,8 @@ Other operators compare strings lexicographically

For example C<'a' lt 'b'> is true, and likewise C<'a' lt 'aa'>.

C<!=> is really just a convenience for C<!==>, which in turn is really the C<!> meta operator added to the infix C<==> operator. An equivalent explanation applies to C<ne> and C<!eq>.

=head3 Three-way Comparison

X<leg>
Expand Down

0 comments on commit cc7c5a6

Please sign in to comment.