Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: class-dbi-mysql and null values

by davidrw (Prior)
on Nov 05, 2006 at 13:19 UTC ( [id://582311]=note: print w/replies, xml ) Need Help??


in reply to Re: class-dbi-mysql and null values
in thread class-dbi-mysql and null values

Depending on your data (e.g. if it's ok to null out a 0), you could simply do:
$case->owner( $owner || undef );
This is great writeup on what counts as false: True or False? A Quick Reference Guide

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://582311]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-03-28 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found