in reply to string pointers in perl?

If you are parsing a string and need a settable pointer I recommend using the intended regex mechanism.

m/...\G.../gc and pos.

see perlretut#Global-matching, perlre#Assertions and Friedl's regex book for details.

Cheers Rolf