Brick - Complex business rule data validation River stage one • 1 direct dependent • 1 total dependent

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.228 - 14 May 2018 12:43:46 GMT

Brick::File - This is the description River stage one • 1 direct dependent • 1 total dependent

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.228 - 14 May 2018 12:43:46 GMT

Brick::Numbers - This is the description River stage one • 1 direct dependent • 1 total dependent

BDFOY/Brick-0.228 - 14 May 2018 12:43:46 GMT

Brick::Strings - constraints for domain-nonspecific stuff River stage one • 1 direct dependent • 1 total dependent

$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.228 - 14 May 2018 12:43:46 GMT

Brick::Regexes - This is the description River stage one • 1 direct dependent • 1 total dependent

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.228 - 14 May 2018 12:43:46 GMT

Brick::Result - the result of applying a profile River stage one • 1 direct dependent • 1 total dependent

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.228 - 14 May 2018 12:43:46 GMT

Brick::Dates - This is the description River stage one • 1 direct dependent • 1 total dependent

_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.228 - 14 May 2018 12:43:46 GMT

Brick::Filters - do something to the input data River stage one • 1 direct dependent • 1 total dependent

_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.228 - 14 May 2018 12:43:46 GMT

Brick::Bucket - The thing that keeps everything straight River stage one • 1 direct dependent • 1 total dependent

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.228 - 14 May 2018 12:43:46 GMT

Brick::General - constraints for domain-nonspecific stuff River stage one • 1 direct dependent • 1 total dependent

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.228 - 14 May 2018 12:43:46 GMT

Brick::Profile - the validation profile for Brick River stage one • 1 direct dependent • 1 total dependent

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.228 - 14 May 2018 12:43:46 GMT

Brick::UserGuide - How to use Brick River stage one • 1 direct dependent • 1 total dependent

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.228 - 14 May 2018 12:43:46 GMT

Brick::Tutorial - How to use Brick River stage one • 1 direct dependent • 1 total dependent

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.228 - 14 May 2018 12:43:46 GMT

Brick::Composers - This is the description River stage one • 1 direct dependent • 1 total dependent

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.228 - 14 May 2018 12:43:46 GMT

Brick::Selectors - Connect the input data to the closures in the pool River stage one • 1 direct dependent • 1 total dependent

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.228 - 14 May 2018 12:43:46 GMT

Brick::Constraints - Connect the input data to the closures in the pool River stage one • 1 direct dependent • 1 total dependent

__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.228 - 14 May 2018 12:43:46 GMT

Brick::Result::Item - The result from a single profile element River stage one • 1 direct dependent • 1 total dependent

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.228 - 14 May 2018 12:43:46 GMT

17 results (0.042 seconds)