Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: How to add a new line after three or four lines from a pattern after getting that pattern

by thanos1983 (Parson)
on Apr 03, 2019 at 12:05 UTC ( #1232089=note: print w/replies, xml ) Need Help??


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!
  • Comment on Re^5: How to add a new line after three or four lines from a pattern after getting that pattern
  • Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1232089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2020-05-25 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (143 votes). Check out past polls.

    Notices?