#!/usr/bin/env perl
use strict;
use warnings;
use DateTime;
use DateTime::Locale;
use v5.10;
my $loc = DateTime::Locale->load('en-GB');
say $loc->native_locale_name, $loc->datetime_format_long;
I got an Error .
Can't locate object method "native_locale_name" via package "DateTime::Locale::FromData" at ./a.pl line 9, <DATA> line 1.
maybe native_name is correct instead of native_locale_name in SYNOPSIS?
my Environment
OS: Ubuntu 14.04 64bit Perl version: 5.18.1 DateTime-Locale-Version: 1.12
Code:
I got an Error .
maybe native_name is correct instead of native_locale_name in SYNOPSIS?
thanks great module.