Day of the week

As Perl 5, except DateTime is built-in, so you don't need to download a module of that name:

say join ' ', grep { Date.new($_, 12, 25).day-of-week == 7 }, 2008 .. 2121;

Last updated