I started to really like C#\'s ?? operator. And I am quite use开发者_如何学编程d to the fact, that where there is something handy in some language, it\'s most probably in Perl too.
I have a number of methods doing next: var result = command.ExecuteScalar() as Int32?; if(result.HasValue)
This question already has answers here: Closed 13 years ago. Possible Duplicates: ?? Null Coalescing Operator --> What does coalescing mean?