The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
use strict;

use DateTime::TimeZone;

BEGIN {
    # Work around not having a version when using dzil
    if ( ! $DateTime::TimeZone::VERSION ) {
        $DateTime::TimeZone::VERSION = 99;
    }

    my $version = '0.1501';
    eval "use DateTime $version";
    if ($@) {
        Test::More::plan( skip_all =>
                "Cannot run tests before DateTime.pm $version is installed."
        );
        exit;
    }
}

1;