yskmonk has asked for the wisdom of the Perl Monks concerning the following question:
here is my code:
open OUTFILE, "<$outfile"; open FINAL, ">$final"; while (<OUTFILE>) { print FINAL if /(line1)/; print FINAL if /(line2)/; print FINAL if /(line3)/; }
here is my output
line1<br> line2<br> line3<br>
my questions is my final.txt has <br> at the end of each line as shown abouve.
how can I remove that?
Please Advise Thanks in advance!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: removing <br> from my output
by Utilitarian (Vicar) on May 19, 2009 at 16:06 UTC | |
|
Re: removing <br> from my output
by ack (Deacon) on May 19, 2009 at 16:40 UTC | |
|
Re: removing <br> from my output
by raisputin (Scribe) on May 19, 2009 at 17:43 UTC | |
by Anonymous Monk on May 19, 2009 at 18:42 UTC | |
|
Re: removing <br> from my output
by bichonfrise74 (Vicar) on May 20, 2009 at 05:03 UTC | |
by Anonymous Monk on May 20, 2009 at 14:10 UTC | |
by Anonymous Monk on May 20, 2009 at 14:16 UTC | |
by raisputin (Scribe) on May 20, 2009 at 15:18 UTC | |
by yskmonk (Initiate) on May 20, 2009 at 18:47 UTC | |
| |
|
Re: removing <br> from my output
by mboudreau (Acolyte) on May 19, 2009 at 20:55 UTC | |
by raisputin (Scribe) on May 20, 2009 at 14:55 UTC | |
|
Re: removing <br> from my output
by Anonymous Monk on May 19, 2009 at 19:04 UTC | |
|
Re: removing <br> from my output
by yskmonk (Initiate) on May 19, 2009 at 19:11 UTC | |
by raisputin (Scribe) on May 19, 2009 at 20:28 UTC |