Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed broken code example. moritz++
  • Loading branch information
Jan-Olof Hendig committed Jun 20, 2016
1 parent ebb259c commit 4678149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Type/Baggy.pod
Expand Up @@ -163,7 +163,7 @@ Returns all elements and their respective weights as a L<Seq|/type/Seq> of L<Pai
where the element itself is the value and the weight of that element is the key, i.e.
the opposite of method L<pairs|#method pairs>.
my $breakfast = bag <eggs bacon>;
my $breakfast = bag <bacon eggs bacon>;
my $seq = $breakfast.antipairs;
say $seq.sort; # (1 => eggs 2 => bacon)
Expand Down

0 comments on commit 4678149

Please sign in to comment.