Search results for "dist:Brick BRIANDFOY"
Brick - Complex business rule data validation
Class methods Brick->new Create a new "Brick". Currently this doesn't do anything other than give you an object so you can call methods. Future ideas? Maybe store several buckets or profiles? POD ERRORS Hey! The above document had some coding errors,...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::File - This is the description
See "Brick::Constraints" for the general discussion of constraint creation. Utilities POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 8: =over is the last thing in the document?!...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::Strings - constraints for domain-nonspecific stuff
$bucket->value_length_is_exactly( HASHREF ) exact_length POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 3: =over without closing =back...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::Regexes - This is the description
See "Brick::Constraints" for the general discussion of constraint creation. Utilities _matches_regex( HASHREF ) Create a code ref to apply a regular expression to the named field. field - the field to apply the regular expression to regex - a referen...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::Dates - This is the description
_is_YYYYMMDD_date_format POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 3: =over without closing =back...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::Result - the result of applying a profile
This class provides methods to turn the data structure returned by apply() into a useable form for particular situations. Class methods result_item_class Loads and returns the class name to use for the elements of the Results data structure. POD ERRO...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::Bucket - The thing that keeps everything straight
Class methods new() Creates a new bucket to store Brick constraints POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 5: =over without closing =back...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::Filters - do something to the input data
_uppercase( HASHREF ) This modifies the input data permanently. It removes the non-digits from the specified value in filter_fields. The value is no longer tainted after this runs. It works on all of the fields. filter_fields This filter always succe...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::General - constraints for domain-nonspecific stuff
Single fields _is_blank( HASHREF ) POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 5: =over without closing =back...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::Profile - the validation profile for Brick
This class turns a profile description into a ready-to-use profile object that has created all of the code it needs to validate input. In Brick parlance, it creates the bucket and the bricks that need to go into the bucket based on the validation des...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::UserGuide - How to use Brick
Some one told you to use this module to validate data, and you need to know the shortest way to get that done. Someone else has created all the validation routines, or "bricks", already and you just have to use them. Construct your profile Your valid...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::Tutorial - How to use Brick
Brick is a way to organize business rules to validate data. It's easy to validate values by themselves, but the validation of relationships is much trickier. Making a brick The name "Brick" comes from the terminology for the validation routines, each...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::Selectors - Connect the input data to the closures in the pool
Selectors test a condition, but they don't fail if the test doesn't work. Instead of die-ing, they return 0. Composers can use selectors to decide if they want to continue with the rest of the composition or simply skip it and try something else. Thi...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::Composers - This is the description
This module defines composing functions in the Brick::Constraints package. Each function takes a list of code refs and returns a single code ref that wraps all of them. The single code ref returns true or false (but defined), as with other constraint...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::Constraints - Connect the input data to the closures in the pool
__make_constraint( CODEREF, INPUT_HASH_REF ) Turn a closure into a constraint by providing the bridge between the input hash and code reference. Call this in your top level generator after you have composed all the pieces you want. POD ERRORS Hey! Th...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC
Brick::Result::Item - The result from a single profile element
This class provides methods to turn the data structure returned by apply() into a useable form for particular situations. POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 6: =over is the last thing in ...
BDFOY/Brick-0.902 - 09 Jan 2022 01:11:46 UTC