develooper Front page | perl.perl6.internals | Postings from October 2001

String comparison ops

Thread Next
From:
Tom Hughes
Date:
October 9, 2001 16:50
Subject:
String comparison ops
Message ID:
0c8afcc64a.tom@compton.compton.nu
Attached is a patch to add string comparison ops, along with the
necessary infrastructure in the string code.

The current behaviour is that if the two strings do not have the
same encoding then both are promoted to UTF-32 before comparison
as that should generally preserve information.

Tom

-- 
Tom Hughes (tom@compton.nu)
http://www.compton.nu/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About