aboutsummaryrefslogtreecommitdiff
path: root/challenge-007/ryan-thompson/perl6/ch-1.p6
blob: 8d1fcb211184bd0ab095672d158d3f7a6a8613ec (plain)
1
2
3
4
5
6
7
#!/usr/bin/env perl6

# ch-2.p6 - Niven numbers from 0..50
#
# Ryan Thompson <rjt@cpan.org>

.say for (0..50).grep: { $_ %% .comb.sum }