develooper Front page | perl.moose | Postings from September 2016

Re: Different views of the same fields

Thread Previous
Aran Deltac
September 16, 2016 02:05
Re: Different views of the same fields
Message ID:
Seems to me that this is a view issue. In perl a NULL from the DB is
typically translated to an undef. If the view needs to show it as an empty
string then that should be the view's job, no other's.
On Thu, Sep 15, 2016 at 11:30 AM Victor Porton <> wrote:

> For one the same object there may be several views: for example, in a
> "database" view empty fields may be signified by `undef` (to denote
> NULL in an SQL database) and in "UI" view they may be denoted as empty
> strings.
> Is my idea: new, is it viable? Is it (or will it be?) implemented?
> Tell anything you think about this idea.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About