Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Examples for eqv operator
  • Loading branch information
moritz committed Feb 14, 2015
1 parent 9a69456 commit 7fa0d46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Language/operators.pod
Expand Up @@ -932,6 +932,11 @@ Returns C<True> if the first argument is larger than the second.
Equivalence operator. Returns C<True> if the two arguments are structurally
the same, i.e. from the same type and (recursively) contain the same values.
say [1, 2, 3] eqv [1, 2, 3]; # True
say Any eqv Any; # True
say 1 eqv 2; # False
say 1 eqv 1.0; # False
=head2 infix C«===»
proto sub infix:<===>(Any, Any) returns Bool:D is assoc<chain>
Expand Down

0 comments on commit 7fa0d46

Please sign in to comment.