Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Fun with duff's device and AUTOLOAD

by John M. Dlugosz (Monsignor)
on Feb 24, 2004 at 16:06 UTC ( #331419=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://331419]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2017-03-28 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (336 votes). Check out past polls.