[Html-widget] HTML::Widget::Constraint::Range wherein limit is
zero
Carl Franks
fireartist at gmail.com
Mon Oct 23 09:12:58 GMT 2006
On 20/10/06, Steven Kuo <attn.steven.kuo at gmail.com> wrote:
> It's should be possible to set a constraint
> with H::W::C::Range wherein the
> minimum or maximum is zero, right?
>
> But in order to register this constraint
> it seems I have to use a "zero-but-true"
> specification. It's not clear from the documentation
> that a plain zero (0) won't work.
Steven,
Thanks for reporting this.
I've added a fix, so it checks for defined, rather than true.
The fix is available in svn, commit 5203
http://dev.catalystframework.org/repos/Catalyst/trunk/HTML-Widget
I'll also be pushing a new release out to cpan in the next couple of weeks.
Cheers,
Carl
More information about the Html-widget
mailing list