sharan has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
I have to write a prog to read some lines from data
i want output ashfkjd process jhk start begin output1 output2 end process scrap hkl process khfk shoot hooter begin output3 end process
my code looks likeoutput1 output2 output3
But still am not able to get the desired output.. could u please help me... Many thanks in advance.if (/end process/) {end(); } if (/process/) {if(/begin/) { print $_; }}
Back to
Seekers of Perl Wisdom