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

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

From: George Hartzell
Subject: quick sanity check on hooking up params::validate to cdbi subclasses.
Date: 23:00 on 27 Jul 2005
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?

thanks,

g.

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

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