in reply to Re: Found a Perl hole
in thread Found a Perl hole

I just was bsin at the int(chr(127)) part, ...

I'm wondering what you think "int()" is supposed to do, because it looks like you expect it to do something other than "return the integer portion of a floating-point value."

When you have the right notion of what "int()" really does, you should be able to understand why this little one-liner prints nothing but zeros -- and why that isn't a bug:

$i = int(chr(127)); printf("%d = %x = %o = %s\n",$i,$i,$i,$i);
(and I wonder what "bsin" means...)