Emoji-NationalFlag
view release on metacpan or search on metacpan
Emoji::NationalFlag is a module to convert from country code (ISO
3166-1 alpha-2) to national flag emoji, and vice versa
METHODS
code2flag($iso_3166_1_alpha_2_code): Optional[NationalFlagEmoji]
This method returns national flag emoji if the supplied code (case
insensitive) is valid, otherwise returns undef
flag2code($decoded_national_flag_emoji): Optional[lc(CountryCodeAlpha-2)]
This method returns lower case of ISO 3166-1 alpha-2 country code if
the supplied emoji is valid, otherwise returns undef
AUTHOR
punytan <punytan@gmail.com>
COPYRIGHT
lib/Emoji/NationalFlag.pm view on Meta::CPAN
=head1 DESCRIPTION
Emoji::NationalFlag is a module to convert from country code (ISO 3166-1 alpha-2) to national flag emoji, and vice versa
=head1 METHODS
=head2 code2flag($iso_3166_1_alpha_2_code): Optional[NationalFlagEmoji]
This method returns national flag emoji if the supplied code (case insensitive) is valid, otherwise returns C<undef>
=head2 flag2code($decoded_national_flag_emoji): Optional[lc(CountryCodeAlpha-2)]
This method returns lower case of ISO 3166-1 alpha-2 country code if the supplied emoji is valid, otherwise returns C<undef>
=head1 AUTHOR
punytan E<lt>punytan@gmail.comE<gt>
=head1 COPYRIGHT
Copyright 2017- punytan
( run in 0.244 second using v1.01-cache-2.11-cpan-0d8aa00de5b )