[Catalyst] html-widget interface design

Carl Franks fireartist at gmail.com
Tue Mar 14 17:19:45 CET 2006


With HTML-Widget-Constraint-MySQL, some constraints should have
differing behaviour depending on which mysql version you're using.

These are the interfaces I'm thinking of supporting for setting the
mysql server version.

explicit:

use HTML::Widget::Constraint::MySQL ( '3.23' );

get version number from a connected dbi handle:

use HTML::Widget::Constraint::MySQL;
HTML::Widget::Constraint::MySQL::mysql_version( $dbh );

Would such an API offend anybody? ;)

Cheers,
Carl



More information about the Catalyst mailing list