The offset for pos is stored as bytes, and converted to (Unicode)
authorNicholas Clark <nick@ccl4.org>
Wed, 26 Mar 2008 21:05:20 +0000 (21:05 +0000)
committerNicholas Clark <nick@ccl4.org>
Wed, 26 Mar 2008 21:05:20 +0000 (21:05 +0000)
commitce47496284713207331ee4a6b164a0088c7e4776
tree64a2f7946f5e84ec16aba673f8b5e9af2435d342
parentefcbbafbf10077e558f8e3e69fc9ffdd50d0924f
The offset for pos is stored as bytes, and converted to (Unicode)
character position when read, if needed. The code for setting pos
inside subst was incorrectly converting to character position before
storing the value. This code appears to have been buggy since it was
added in 2000 in change 7562.

p4raw-id: //depot/perl@33580
pp_ctl.c
t/op/subst.t