NAME

Lingua::Metadata - Returns information about languages.

VERSION

version 0.001_01

SYNOPSIS

METHODS

get_iso ($langage)

Returns an ISO 639-3 code for language.

Returns $iso

  • It returns undef, if the service is down or undef is passed as an argument.

  • It returns empty string, if the language couldn't be converted.

  • It returns ISO 639-3 otherwise.

get_language_metadata ($langage)

Returns all metadata for specified language.

Returns \%metadata = { key1 => value1, ... }

  • It returns undef, if the service is down or undef is passed as an argument.

  • It returns reference to the hash containing all metadata.

AUTHOR

Martin Majlis <martin@majlis.cz>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by Martin Majlis.

This is free software, licensed under:

The (three-clause) BSD License