Skip to content

Commit

Permalink
add example to junctions
Browse files Browse the repository at this point in the history
  • Loading branch information
gfldex committed Jun 18, 2016
1 parent 7ccc1ec commit aa21b02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/Type/Junction.pod
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ Usage examples:
}
my @primes_ending_in_1 = grep &is_prime & / 1$ /, 2..100;
say @primes_ending_in_1; # 11 31 41 61 71
my @exclude = <~ .git>;
for dir(".") { say .Str if .Str.ends-with(none @exclude) }
Special care should be taken when using C<all> with arguments that may
produce an empty list:
Expand Down

0 comments on commit aa21b02

Please sign in to comment.