in reply to Re^2: Data Validation Tests
in thread Data Validation Tests

Well then you should be glad to hear that the current design does not have any 'built in' routines. It has some default checks, held in a seperate module that comes with the main verification package, but it is very easy to include checks from other places. Basically anything that returns true on sucess and false on failure can be used, via the 'custom' test declaration (which accepts coderef's and regex's.)



My code doesn't have bugs, it just develops random features.

Flame ~ Lead Programmer: GMS | GMS

Replies are listed 'Best First'.
Re: Re: Re^2: Data Validation Tests
by perrin (Chancellor) on Jan 26, 2003 at 17:58 UTC
    It sure would be cool if you took Data::FormValidator or one of the others and added the ability to plug in new tests, instead of creating a new module. Then lots of people would get access to it right away without having to discover your new module and change all of their code.
      I'll consider making it a drop-in replacement sort of module, who knows, someday it might...



      My code doesn't have bugs, it just develops random features.

      Flame ~ Lead Programmer: GMS | GMS