So a null byte is still Boolean true.
But just tell me this....am I the only guy who thinks this *feels* wierd? Understanding the reason doesn't make it any more ~comfortable~.
I think you are. Perl considers null to be data--it's that simple. Remember, while Perl can work with binary, it's really designed for text.
Incidentally, if you really want to, you can always define your own string that does what you want:
class BinaryString is String { method prefix:? () { if($_ eq "\0") { return 0; } else { next METHOD; } } }
-- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker
Oceania has always been at war with Eastasia.