Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Please find out the mistake in substitution function in the code??by GotToBTru (Prior) |
on May 11, 2015 at 19:17 UTC ( [id://1126333]=note: print w/replies, xml ) | Need Help?? |
I had to look at that again; of course you're right. But only lines for which the substitution is performed will print. I think that is not exactly what is wanted. Perhaps more like:
The lines with recognized codes will be corrected; lines without codes will still be copied to the output.
In Section
Seekers of Perl Wisdom
|
|