Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Problem in Commenting lines in perlby k_manimuthu (Monk) |
on Dec 28, 2010 at 06:35 UTC ( [id://879378]=note: print w/replies, xml ) | Need Help?? |
It's having problem to the 'foreach loop'. It checks the key term and print the content twice. To avoid this kind of circumstance, you may use the ‘next’ statement when you match string found.
In Section
Seekers of Perl Wisdom
|
|