Documentation updated, and tests added to t/op/string.t.
The CVS log details most of the changes, but basically:

core.ops - Added ord() opcode
string.c - Added string_ord() and a _string_index() helper function to
help making accommodating different encodings easier. Patched concat()
to deal with null strings.
t/op/string.t - Added tests for ord() opcode, added a few null tests for
concat().

At a suggestion from Alex Gough, the three-argument ord opcode now
behaves like perl's arrays when given negative indices. Read the opcode
documentation for more information.

--Jeff
<[EMAIL PROTECTED]>


Reply via email to