Skip Menu |

This queue is for tickets about the DBIx-Class-Fixtures CPAN distribution.

Report information
The Basics
Id: 94365
Status: new
Priority: 0/
Queue: DBIx-Class-Fixtures

Owner: Nobody in particular
Requestors: aran [...]

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

Subject: cond with NULL checks spewing warnings
Date: Tue, 1 Apr 2014 09:46:08 -0700
To: bug-DBIx-Class-Fixtures [...]
From: Aran Deltac <aran [...]>
Download (untitled) / with headers
text/plain 501b
If I have a cond like this: "cond": { "column": undef } Which should produce this SQL; column IS NULL I get a bunch of warnings like this when I call dump(): Use of uninitialized value $_ in substitution (s///) at /usr/local/share/perl/5.14.2/DBIx/Class/ line 820. I tried this instead (old-school SQL::Abstract syntax) using DBIx::Class::Fixtures' ability to create a scalar ref if the first character in the value is a backslash: "cond": { "column": "\\IS NULL" } And that works.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to