perlancar > Perinci-Object-0.21 > Perinci::Object::Metadata

Download:
Perinci-Object-0.21.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.21   Source  

NAME ^

Perinci::Object::Metadata - Base class for Perinci::Object metadata classes

VERSION ^

This document describes version 0.21 of Perinci::Object::Metadata (from Perl distribution Perinci-Object), released on 2014-12-11.

METHODS ^

new => obj

Constructor.

v => float

Get version.

as_struct => hash

Get underlying data structure.

type => str

Return type (e.g. function, package).

langprop([ \%opts, ]$prop[, $new_value])

Get or set property value in the specified language (i.e., either in prop or prop.alt.lang.XXX properties).

Known options:

name([ $new_value ]) => $value

Get or set name property. Will call langprop().

summary([ $new_value ]) => $value

Get or set summary property. Will call langprop().

description([ $new_value ]) => $value

Get or set description property. Will call langprop().

caption([ $new_value ]) => $value

Get or set caption property. Will call langprop().

HOMEPAGE ^

Please visit the project's homepage at https://metacpan.org/release/Perinci-Object.

SOURCE ^

Source repository is at https://github.com/perlancar/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 ^

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: