Re: quick sanity check on hooking up params::validate to cdbi subclasses.

[prev] [thread] [next] [Date index for 2005/07/27]

From: George Hartzell
Subject: Re: quick sanity check on hooking up params::validate to cdbi subclasses.
Date: 23:08 on 27 Jul 2005
George Hartzell writes:
 > 
 > I think that I'd like to use params::validate to check up on values
 > used to create my class::dbi based objects.
 > 
 > Seems like the right thing to do is override sub create {} in my
 > subclasses, and if things validate then just call SUPER::create.
 > 
 > Does that seem reasonable?
 > [...]

Arghhhh.... 

Looks like I should have reread the man page.

  validate_column_values

seems like a perfectly usable hook....

g.

Re: quick sanity check on hooking up params::validate to cdbi subclasses.
George Hartzell 23:08 on 27 Jul 2005

Generated at 16:35 on 28 Jul 2005 by mariachi v0.52