While writing documentation: a trivial question on the boolean type, C<bit>:
my bit $light_switch;
Q: Can bits/bools be undefined?
Perl conventions would indicate yes. Does that mean that an array of bits:
my bit @bitfield;
takes up, at minimum, two bits per, um, bit?
Sorry if this question is as stupid as it looks. I'm just worried that maybe it isn't.
MikeL
- Re: Primitive Boolean type? Michael Lazzaro
- Re: Primitive Boolean type? David Wheeler
- Re: Primitive Boolean type? Larry Wall
- Re: Primitive Boolean type? Larry Wall
- Re: Primitive Boolean type? Michael Lazzaro
- Re: Primitive Boolean type? Luke Palmer
- Re: Primitive Boolean type? David Wheeler
- Re: Primitive Boolean type? Mark J. Reed
- Re: Primitive Boolean type? Michael Lazzaro
- Re: Primitive Boolean type? David Wheeler
- Re: Primitive Boolean type? Austin Hastings