As a general rule, "It doesn't work!" is not a useful problem description. What the monks would like to see is something along the lines of:
Here is some code:
my $doc = '...';
$doc =~ s/.../.../g;
...;
print ">>$doc<< \n";
As you can see, I am getting >>...<< as output, but I really want >>...<< instead. Can you please help?
Ideally, the example code and data should be brief and
runnable. Please see the
Short, Self Contained, Correct (Compilable), Example discussion. Please also see
How do I post a question effectively? and
How (Not) To Ask A Question. Please help us to help you.
Give a man a fish: <%-{-{-{-<