Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Writing It Myself, DWIM, and Expectations

by jest (Pilgrim)
on Sep 13, 2004 at 17:38 UTC ( [id://390613]=note: print w/replies, xml ) Need Help??


in reply to Re: Writing It Myself, DWIM, and Expectations
in thread Writing It Myself, DWIM, and Expectations

> Now, I know there's a difference between "" and undef in Perl, just like I know there's a difference between "" and NULL in my database.

You do?

Not if your database follows the SQL-92 standard!

Leaving aside the issue of what the SQL-92 standard actually says, and also leaving aside the holy war about whether MySQL is a real database or not, the fact remains that my database, which is MySQL, does treat "" and NULL as different, so my above statement is correct.

In the meantime, I've decided to use a different input validator, which is working much better for me.

  • Comment on Re^2: Writing It Myself, DWIM, and Expectations

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found