"Karger, Amir" wrote: > > (2) When can you use pos()? I could swear that a bunch of times I've tried to use >it, it would just come up as the empty string, even when I had a successful match. I >think the Camel says you can only use it in m//g, but apparently s///g works, too. >Are there any other special cases?
from perldelta for 5.6.1: "pos() did not return the correct value within s///ge in earlier versions. This is now handled correctly." (sorry if you got a duplicate message) -- Rick Klement