in reply to Re^2: How to substitute a word with an other?
in thread How to substitute a word with an other?
"It doesn't work" does not help us to help you - please provide any error messages you are getting, and/or describe how the program currently behaves and how you'd like it to behave.
Having said that, in your map you don't need the semicolon in /\|/;, since there is another argument to split ($_) following the regular expression, the statement doesn't end there. You said you are a Perl beginner, so have a look at perlintro (and perlsyn).
To help your further could you provide a sample of what the three files (2x input 1x output) currently look like, and an example of how you'd like them to look? You can also edit your original post to include this information, see How do I change/delete my post?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to substitute a word with an other?
by Anonymous Monk on May 17, 2014 at 18:13 UTC | |
by morgon (Priest) on May 17, 2014 at 18:31 UTC |