Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove superfluous |, probably a copy/paste error
  • Loading branch information
lizmat committed Jun 15, 2013
1 parent e473973 commit dca94f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-setting-library/Containers.pod
Expand Up @@ -170,7 +170,7 @@ an array of those list values classified by the mapper into the category
of the associated key. For example:

@list = (1, 2, 3, 4);
(:@even, :@odd) := |classify { $_ % 2 ?? 'odd' !! 'even' }, @list;
(:@even, :@odd) := classify { $_ % 2 ?? 'odd' !! 'even' }, @list;

In this example, @even will contain all even numbers from C<@list>
and C<@odd> will contain all odd numbers from C<@list>.
Expand Down

0 comments on commit dca94f7

Please sign in to comment.