Sun Sep 14 08:56:17 2014florian [...] n0la.org - Ticket created
Subject:
Cell text '0' is shown as ''
Date:
Sun, 14 Sep 2014 14:56:04 +0200
To:
bug-Curses-UI-Grid [...] rt.cpan.org
From:
Florian Stinglmayr <florian [...] n0la.org>
If you add a cell with "0" as the text, then an empty string is shown.
Perhaps because you check if the string is defined by using something like:
# The string "0" will evaluate to false
$text = ($text or '');
When instead it should be like this:
$text = (defined $text ? $text : '');
Regards,
Florian