in reply to RE: RE: Tic tac toein thread Tic tac toe
s/$P{3}/$&/; [download]
s/($P.?)$&/; [download]
Very nice code! :) I like the way that $& is used.