At 03:02 AM 10/23/2001 -0400, James Mastros wrote:
>I don't see what chr() should look like, though. What's the interface to
>multiple encodings on the opcode level? I'd like to just say that chr
>always creates a utf32 string.
Nope, can't do that.
>String encodings don't have fixed numbers in
On Tue, Oct 23, 2001 at 03:02:09AM -0400, James Mastros wrote:
> + /* FIXME: How should I report this error?
If someone's failed to implement ord, that's grounds for a segfault.
> 74658072
Not portable. :(
> output_is( <<'CODE', <
Hey all.
This is a much nicer implementation of ord, which does it properly as a
string encoding "method".
The only real uglyness I see is the "I have no mouth and I must scream"
problem. I could take a Perl_Interpreter * parameter, but the only reason I
need it is to fire off exceptions.