Provided by: libperinci-object-perl_0.13-1_all
NAME
Perinci::Object::Metadata - Base class for Perinci::Object metadata classes
VERSION
version 0.13
METHODS
v as_struct langprop($prop, \%opts) Get property value in the specified language (i.e., either in "prop" or "prop.alt.lang.XXX" properties). Known options: • lang => STR Defaults to metadata's "default_lang" (which in turns default to "en_US" if unspecified). • mark_different_lang => BOOL (defaults to 1) If set to true, text with different language than the language requested will be marked, e.g. "I love you" requested in Indonesian language where the value for that language is unavailable will result in "{en_US I love you}" being returned.
HOMEPAGE
Please visit the project's homepage at <https://metacpan.org/release/Perinci-Object>.
SOURCE
Source repository is at <https://github.com/sharyanto/perl-Perinci-Object>.
BUGS
Please report any bugs or feature requests on the bugtracker website <https://rt.cpan.org/Public/Dist/Display.html?Name=Perinci-Object> When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Steven Haryanto. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.