Thanks a lot !! It works... But I also had to escape the @ in the output. By the way, I don't know what \Q \E means... could you tell me why? Thanks...
Comment on Re: Re: fixstyle script in PERL COOKBOOK
What \Q does is disable a lot of the "metacharacters" in
REs until the next \E. This is often important when
substituting variables in an RE because you have
little control over the contents of the variable.
An alternate solution is to quote all possible meta
characters with quotemeta.