Krasimir Berov
- Website: www.i-can.eu/
- About: I speak Perl and other languages...
Recent Actions
-
Commented on Three-value logic in Perl
ops sorry.. I meant "cascading nature" :)......
-
Commented on Three-value logic in Perl
All the time it seemed to me like null(from other languages) or NULL from SQL. But was not sure :). Why not call it Null::Values so it feels familiar (If the semantics are really close). And the singleton nature made...
-
Commented on Three-value logic in Perl
...I fear thought this concept may seem pretty complicated to grasp and as a result - not used....
-
Commented on Running a Mojolicious non-lite app on a cPanel VPS server
On simple shared hosting but with SSH access One can also use ActivePerl with the same success. Here is an example: http://goo.gl/AaSMr In your scrips you can simply have: #!/usr/bin/env perl provided that you have added the folder with your...
-
Commented on A funny thing happened on the way to the p5-mop...
Stevan, about forking Perl: Why Scala? Couldn't be just plain old Java? Using Java will (IMHO) dramatically increase the number of people willing to play/help with it and at least number of watchers on github... We (even plain users like...
-
Commented on Using jqGrid with Catalyst: Tutorial with Examples for Newbies
May be this tutorial is for newbies, but it is not from a newbie at all. Very humble you are :).. Great if Perl attracts people like you!...
Comment Threads
-
Hercynium commented on
Three-value logic in Perl
This is a neat little concept, and I'll have to play with it a little to see if I can put it to good use for clearer code. I especially appreciate the name, "unknown", as it pretty much matches the semantics I would expect to be attached to that name. "The variable is defined, but there may or may not be a value - it could be anything or nothing, we just don't know - so it doesn't match or compare to anything, including another variable set to unknown"
The NULL != NULL semantics in SQL make sense to me, except for the name, "null". From a general "meaning of words" standpoint, I thin…
-
Ovid commented on
Three-value logic in Perl
Hercynium, thanks for the kind words.
While adding a null or nil value would be interesting, I'd need the following:
- Some clear use cases
- Explicitly defined semantics
And I'm glad you like the concept. You might find this blog post interesting.
-
David Cantrell commented on
Three-value logic in Perl
anyone who puts interns and volunteers into the list of empoyees should be fired too! if they're employees they get minimum wage and can't be got rid of on a whim.
-
Buddy Burden commented on
Three-value logic in Perl
I'm not sure I agree that "NULL" is a terrible name for unknown data. After all, as Hercynium writes:
Generally, when I read the word "null" I think of it as referring to something specific, representing the absence of a value.
Which is exactly right. We have a database full of data. How did the data get there? Someone entered it. If there is an absence of data, it's because no one entered it. If no one entered it, it's because no one knew what it was, or they haven't gotten around to entering it yet--either way, it's unknown.
Furtherm…
-
MeirG commented on
Three-value logic in Perl
NULL might also mean "Not Applicable" such as the "State" address field for Israel. (Hardly big enough to place the country's name...)
In fact, in my old Ordain Inc. days (a database machine start-up that never took-off) we listed up to SEVEN totally different meanings that were all have to share the poor SQL NULL concept! Forgot most of them.
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.