Syntactic Confectionery Delight | |
PerlMonks |
newlines in regular expressionsby gitarwmn (Beadle) |
on Dec 07, 2004 at 06:23 UTC ( [id://412838]=perlquestion: print w/replies, xml ) | Need Help?? |
gitarwmn has asked for the wisdom of the Perl Monks concerning the following question: I have a file in which I am trying to parse out any blank lines with a subsitition. The problem is I'm not sure how to get rid of the blank lines. the file looks something like this
So how can I get rid of the blank line(s)in the file when they are just a newline within the text file. Thanks
Back to
Seekers of Perl Wisdom
|
|