http://qs321.pair.com?node_id=1232089


in reply to Re^4: How to add a new line after three or four lines from a pattern after getting that pattern
in thread How to add a new line after three or four lines from a pattern after getting that pattern

Hello again anirbanphys,

I do not know what extra characters from the output you are referring? If you mean the single quotes '' in the output it simply how Data::Dumper prints the output. If you want you can use alternatively:

use feature 'say'; say $_ for @lines;

Otherwise give me more information regarding the characters you want to remove. BR / Thanos

Seeking for Perl wisdom...on the process of learning...not there...yet!