Subject: | pos() leaves junk on the stack |
$ perl -lMblib -e '$_="hello"; pos($_) = 3; use String::Base +7; use Devel::Peek; $,=",";print
scalar pos($_)'
3,7
In addition to leaving an extra value on the stack, in does not return the correct value. But I do
not see how this example differs that much from the tests in t/pos.t.