Hello again anirbanphys,
Regarding the hard-coded part I have already replied to your question :). Regarding the first print simply commend out the line: # print Dumper \@lines;.
Hope this helps, BR.
In reply to Re^3: How to add a new line after three or four lines from a pattern after getting that pattern
by thanos1983
in thread How to add a new line after three or four lines from a pattern after getting that pattern
by anirbanphys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |