NAME

Config::Strict::UserConstraints - Utility class to register user-defined profiles

DESCRIPTION

This class is used by Config::Strict to register user-defined profiles from bare code blocks and to its type registry.

PROFILE REGISTRATION

$class->make_constraint($name,$sub,$message)

A class method that wraps the 'constraint' method declaration used by Declare::Constraints::Simple to make a new profile. $message is optional.

SEE ALSO

Declare::Constraints::Simple::Library::Base, Config::Strict

AUTHOR

Blake Willmarth

bwillmarth at gmail.com

BUGS

Please report any bugs or feature requests to bug-config-strict at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Config-Strict. I will be notified, and then you'll automatically be notified of progress on your bug as changes are made.

LICENSE AND COPYRIGHT

Copyright 2010 Blake Willmarth.

This program is free software; you can redistribute it and/or modify it under the terms of either:

  • the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or

  • the Artistic License version 2.0.