Nice solution. Liked particularly the way you make the array go on circles. There is one thing though. Given that input data the regexp is not considering the |. Maybe $line =~ s/\| TEXT TO BE REPLACED.*/ $raw_data[0]/s;
In reply to Re^2: Copy data from one file and add it to another
by olus
in thread Copy data from one file and add it to another
by mel00
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |