Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Removing empty line(s) with regex in a multiple strings in a variable

by Strazhnik (Initiate)
on Apr 27, 2010 at 15:14 UTC ( [id://837127]=note: print w/replies, xml ) Need Help??


in reply to Re: Removing empty line(s) with regex in a multiple strings in a variable
in thread Removing empty line(s) with regex in a multiple strings in a variable

I worked with the same trouble, and the only one good working way I found, it is $buffer =~ s/^\s*\n+//mg; Thank you!
  • Comment on Re^2: Removing empty line(s) with regex in a multiple strings in a variable

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-23 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found