Skip Menu |

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

Report information
The Basics
Id: 98870
Status: new
Priority: 0/
Queue: Curses-UI-Grid

People
Owner: Nobody in particular
Requestors: florian [...] n0la.org
Cc:
AdminCc:

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



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