DEV Community

Jonas Brømsø
Jonas Brømsø

Posted on

2

Feature release 1.36 of the Date::Holidays Perl distribution

Triggered by yet another contribution from Wesley Schwengle (waterkip) I am happy to announce release 1.36 of the Date::Holidays Perl distribution.

The release introduces support for:

Here is a short demo of inquiring whether 2024-12-25 is a holiday in Curaçao.

#!/usr/bin/env perl

use strict;
use warnings;

use Data::Dumper;
use Date::Holidays;

my $holidays_hashref = Date::Holidays->is_holiday(
    year      => 2024,
    month     => 12,
    day       => 25,
    countries => ['cw'],
);

print STDERR Dumper($holidays_hashref);

exit 0;
Enter fullscreen mode Exit fullscreen mode

And the output:

$VAR1 = {
          'CW' => 'Pasku di Nacemento'
        };
Enter fullscreen mode Exit fullscreen mode

Change log for Date::Holidays

1.36 2024-02-11 Feature release, updated not required

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay