Perl Monk, Perl Meditation | |
PerlMonks |
Text matching repostby prassi (Acolyte) |
on Jun 18, 2012 at 08:44 UTC ( [id://976789]=perlquestion: print w/replies, xml ) | Need Help?? |
prassi has asked for the wisdom of the Perl Monks concerning the following question:
Hi Perl Monk,
I am re-posting the same question but with some changes in the code for which the earlier mentioned solution also dint work
please see in the code report may end with colon or not that is intentional. The output has to be like this But the perl code which I have used below when the code encounters the line with REPORT_ENABLE then it removes the rest of the code including printf. From the previous post the solution given was this works if the report was not in multiple lines. can you suggest what changes I need to do my regex to get the required answer. Regards, -Prassi
Back to
Seekers of Perl Wisdom
|
|