The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Rinci::variable - Metadata for your variables

VERSION

version 1.1.21

SPECIFICATION VERSION

 1.1

INTRODUCTION

This document describes metadata for variables. This specification is part of Rinci. Please do a read up on it first, if you have not already done so.

SPECIFICATION

There is currently no metadata properties specific to variables.

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]},
 }

FAQ

SEE ALSO

Rinci

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

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.