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

Re: stolen uint's

Thread Previous | Thread Next
ToddAndMargo via perl6-users
January 29, 2020 02:42
Re: stolen uint's
Message ID:
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)

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About