[Html-widget] Rails-like form helpers - RFC for a new module
Carl Franks
fireartist at gmail.com
Tue Sep 26 16:18:44 CEST 2006
On 26/09/06, Zbigniew Lukasiak <zzbbyy at gmail.com> wrote:
> For now I am a bit stuck with the question about the interface. If I make
> it a subclass of HTML::Widget would it be considered bad form if I do
> something like:
>
> ...
> package HTML::Widget::Result
>
> sub save_to_db {
> ...
I personally wouldn't mind. An alternative though, would be to
override result() and rebless the object it returns into your own
Result package.
Carl
More information about the Html-widget
mailing list