DateTime-Calendar-FrenchRevolutionary
view release on metacpan or search on metacpan
lib/DateTime/Calendar/FrenchRevolutionary/Locale.pm view on Meta::CPAN
# -*- encoding: utf-8; indent-tabs-mode: nil -*-
#
# Perl DateTime extension for providing localised strings for the French Revolutionary calendar
# Copyright (c) 2003, 2004, 2010, 2011, 2014, 2016, 2019, 2021 Jean Forget. All rights reserved.
#
# See the license in the embedded documentation below.
#
package DateTime::Calendar::FrenchRevolutionary::Locale;
use utf8;
use strict;
use warnings;
use vars qw($VERSION);
$VERSION = '0.17'; # same as parent module DT::C::FR
sub load {
my ($self, $lang) = @_;
my $real_class = "DateTime::Calendar::FrenchRevolutionary::Locale::$lang";
eval "require $real_class";
die $@ if $@;
return $real_class->new();
}
# A module must return a true value. Traditionally, a module returns 1.
# But this module is a revolutionary one, so it discards all old traditions.
"Amour sacré de la patrie, conduis soutiens nos bras vengeurs.";
__END__
=encoding utf8
=head1 NAME
DateTime::Calendar::FrenchRevolutionary::Locale - Dates in the French Revolutionary Calendar
=head1 DESCRIPTION
Please refer to parent module:
perldoc DateTime::Calendar::FrenchRevolutionary
=head1 METHOD
=head2 C<load>
Used internally by C<DateTime::Calendar::FrenchRevolutionary>.
=head1 SUPPORT
Support for this module is provided via the datetime@perl.org email
list. See L<https://lists.perl.org/> for more details.
Please report any bugs or feature requests to Github at
L<https://github.com/jforget/DateTime-Calendar-FrenchRevolutionary>,
and create an issue or submit a pull request.
If you have no feedback after a week or so, try to reach me by email
at JFORGET at cpan dot org. The notification from Github may have
failed to reach me. In your message, please mention the distribution
name in the subject, so my spam filter and I will easily dispatch the
email to the proper folder.
( run in 0.685 second using v1.01-cache-2.11-cpan-364913b4093 )