On 01/24/2013 12:42 PM, Matthew Caron wrote:

>> for not null checks
>>
>> if ( ptr !is null) ...
>
> And too much perl has me wanting to write:
>
> if (ptr is not null)

IIRC, the !is operator is thanks to bearophile. We would have to reverse the logic before he insisted on !is: :)

    if (!(ptr is null))

Ali

Reply via email to