this work thanks but here it copie sequence of words after . but me i want that it insert it before .
i have some ligne in the a.txt that is like this <title> (here text)...</title > so in this case the sequence should be copied before </title>.
should i change my @words = split / \./,$_; ?