I have a many large documents with tabs in them. They are not all the same length. I want to do something like this: tr/\t/\s\s\s\s/ ## replace \t with 4 spaces There is a thing called Text::Tabs -- but that appears to work only for tables. My goal is to do: @text = split /\s/, $_; @text[0] = $string join /\s/, @text Any ideas?
In reply to How to replace \t with \s by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |