Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi ambrus
Yes, combining \G and pos() is buggy. See also [bugs?] perldoc perlre, \G and pos() ...¹ Actually I wanted to send a bug report ... :-(
Cheers Rolf UPDATEs: ¹) pos()=pos() is a workaround I used, indicating an implementation problem! In reply to Re: The story of a strange line of code: pos($_) = pos($_);
by LanX
|
|