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

Reply via email to