Skip Menu |

This queue is for tickets about the Curses-UI CPAN distribution.

Report information
The Basics
Id: 31916
Status: resolved
Priority: 0/
Queue: Curses-UI

People
Owner: mdxi [...] cpan.org
Requestors: rra [...] stanford.edu
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.95
Fixed in: (no value)



Subject: Fix return value of Curses::UI::Checkbox::toggle to match documentation
The documentation says that toggle returns 0 or 1, but it actually returns a boolean value. After toggling a 1, Perl will return the empty string. This caused problems for one user of the Debian package who was expecting a 0 per the documentation.
Subject: checkbox-toggle-boolean
Download checkbox-toggle-boolean
application/octet-stream 562b

Message body not shown because it is not plain text.

Thanks for the bug reports. This one is fixed, and along with the fix I've begun my long-intended overhaul of the C::UI docs and code formatting. By virtue of being associated with this bug, C::UI::Checkbox is the first to get the modernizing treatment. I'll likely push out a new version when I work through your batch of bugs; if you need upstream code in the meantime, I've bumped C::UI's version number and you can fetch code from the public repository at http://curses-ui.googlecode.com/ Let me know if anything looks wrong to you.