develooper Front page | perl.perl6.users | Postings from January 2020

Re: stolen uint's

Thread Previous | Thread Next
From:
ToddAndMargo via perl6-users
Date:
January 29, 2020 02:42
Subject:
Re: stolen uint's
Message ID:
f21b02d4-4523-2b63-aedf-7bee88445983@zoho.com
On 2020-01-28 18:34, Trey Harris wrote:
> And that’s another thing: you’ll notice if you define a `my uint8 $x;` 
> it will be set to 0. No undefined, no Nil. That doesn’t happen with 
> non-native numeric values.
> 

Huh.  I thought is as nil.

 > my uint $x; say $x.base(2)
0

Thread Previous | 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