Perl will always provide the null.
About this quote
- What does it mean?
- Perl will always provide a null value when needed.
- In plain terms
- Perl always returns null.
- What can you take from it?
- Expect a null result in edge cases.
Where it applies
Putting it to work
Questions to consider
- How do you differentiate null from false?
Another view
Null can hide bugs if not handled.
More from Larry Wall
It's hard to tune heavily tuned code. :-)
Permalink to quote #178 It's easy to solve the halting problem with a shotgun. :-)
Permalink to quote #180 Er, Tom, I hate to be the one to point this out, but your fix list is starting to resemble a feature list. You must be human or something.
Permalink to quote #177
Related quotes
And don't tell me there isn't one bit of difference between null and space, because that's exactly how much difference there is. :-)
Larry WallLarry Wall quote #2 Almost nothing in Perl serves a single purpose.
Larry WallLarry Wall quote #174