develooper Front page | perl.perl6.users | Postings from September 2018

Nil ?

Thread Next
From:
ToddAndMargo
Date:
September 12, 2018 05:56
Subject:
Nil ?
Message ID:
6150638e-2202-f9ca-1a26-c9c5d7efdaad@zoho.com
What am, I missing?

$ p6 'my $x; if $x =:= Nil { say "Nil" } else { say "Not Nil"; };'
Not Nil

$ p6 'my $x = Nil; if $x =:= Nil { say "Nil" } else { say "Not Nil"; };'
Not Nil

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About