![]() |
![]()
| ![]() |
![]()
NAMEColor::Palette::Schema - requirements for a palette VERSIONversion 0.100004 DESCRIPTIONMost of this is documented in Color::Palette. Below is just a bit more documentation. PERL VERSIONThis library should run on perls released even a long time ago. It should work on any version of perl released in the last five years. Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl. ATTRIBUTESrequired_colorsThis is an arrayref of color names that must be present in any palette checked against this schema. METHODScheck$schema->check($palette); This method will throw an exception if the given palette doesn't meet the requirements of the schema. AUTHORRicardo SIGNES <cpan@semiotic.systems> COPYRIGHT AND LICENSEThis software is copyright (c) 2022 by Ricardo SIGNES. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|