Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I need a hand modifying this bit of code:
s/"\s+", " "//g;
such that it leaves 2 newline characters found in succession.
Thank you for your help,
Jules
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Skip 2 new lines
by GrandFather (Saint) on Nov 08, 2010 at 04:31 UTC | |
Re: Skip 2 new lines
by CountZero (Bishop) on Nov 08, 2010 at 07:37 UTC | |
Re: Skip 2 new lines
by mjscott2702 (Pilgrim) on Nov 08, 2010 at 08:43 UTC | |
by Anonymous Monk on Nov 08, 2010 at 14:11 UTC | |
Re: Skip 2 new lines
by murugu (Curate) on Nov 08, 2010 at 02:20 UTC | |
by Anonymous Monk on Nov 08, 2010 at 02:42 UTC | |
Re: Skip 2 new lines
by ww (Archbishop) on Nov 08, 2010 at 04:23 UTC | |
Re: Skip 2 new lines
by aquarium (Curate) on Nov 08, 2010 at 04:42 UTC |
Back to
Seekers of Perl Wisdom