—our
$VERSION
=
'1.1.15'
;
# VERSION
1;
# ABSTRACT: Metadata for your variables
__END__
=pod
=head1 NAME
Rinci::variable - Metadata for your variables
=head1 VERSION
version 1.1.15
=head1 SPECIFICATION VERSION
1.1
=head1 INTRODUCTION
This document describes metadata for variables. This specification is part of
L<Rinci>. Please do a read up on it first, if you have not already done so.
=head1 SPECIFICATION
There is currently no metadata properties specific to variables.
=head2 Property: schema => SCHEMA
Specify the Sah schema that the variable's value must validate to. This can be
used by a variable wrapper (getter/setter generator) tool to make sure that
variable always contains valid values.
Example:
# metadata for variable $Meaning_Of_Life
{
...
summary => 'The meaning of life',
schema => [int => {between => [1, 100]},
}
=head1 FAQ
=head1 SEE ALSO
B<Rinci>
=head1 AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2012 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.
=cut