[html-formfu] conditions from stash, { -in => [ ... ] }

Yuval Kogman nothingmuch at woobling.org
Sat Oct 30 12:22:55 GMT 2010

In Model::DBIC::options_from_model, specifying a complex condition is an error:

            croak "input value must not be a reference"
                if ref $value;

this means that it's not possible to specify $form->stash({ cond_name
=> { -in => \@values } });

What's the reason for this?

More information about the HTML-FormFu mailing list