http://qs321.pair.com?node_id=377030


in reply to Re: tagging question
in thread tagging question

Dude, the output is supposed to be:
<il> il yadayada <il>
. Therefore, you should have written this:
$x=~s/^(\w{2})(.*)/<$1> $1$2 <$1>/;
</nitpick>