http://www.perlmonks.org?node_id=331419


in reply to Fun with duff's device and AUTOLOAD

I tried it under Win2k, and got unreadable output.

I wonder, what is printf("%c", 2.92e48) supposed to do? There is no character with that number, so I would hope for an error.

I'm not sure where it would "naturally" wrap, if that's what it's doing, since the range of legal Unicode ordinals is not a neat power of two. (I'm getting Unicode code points displayed for something like printf '%c',0x434 even without a use utf8 or other preparation.)

I'd be interested to know just what yours is doing.