This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
As suggested by Anton Tagunov, eq and cmp now obey the
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 7 Mar 2002 22:37:51 +0000 (22:37 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 7 Mar 2002 22:37:51 +0000 (22:37 +0000)
commit799ef3cbf1e54d039c2681bb415c66a8acfbc6cd
treee300409ec36e330b6f2b305d2e662e2ebfa4b58f
parentcf48d248eb62e81239204ca4ca6b33029875e0bd
As suggested by Anton Tagunov, eq and cmp now obey the
encoding pragma (by remapping their byte argument if the
other argument is in Unicode).  Also fix a bug found by
Anton where ord undef under the encoding pragma would barf.
([ID 20020307.009] A null pointer dereference with 'use encoding')
Finally, use the nicer form of sv_recode_to_utf8.

p4raw-id: //depot/perl@15085
lib/encoding.pm
lib/encoding.t
pp.c
regcomp.c
sv.c
toke.c