Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Removing empty line(s) with regex in a multiple strings in a variableby Strazhnik (Initiate) |
on Apr 27, 2010 at 15:14 UTC ( [id://837127]=note: print w/replies, xml ) | Need Help?? |
I worked with the same trouble, and the only one good working way I found, it is $buffer =~ s/^\s*\n+//mg;
Thank you!
In Section
Seekers of Perl Wisdom
|
|