Question: How do you find a paragraph break in perl?
Synopsis: In a string I need to find the paragraph breaks and replace
it with a ^P. Here is my code.
#!/usr/bin/perl -w
use strict;
use Text::Wrap;
$my text = 'This is the FIRST paragraph.
This is the SECOND paragraph.';
print
On Oct 14, 2005, at 16:13, Dave Adams wrote:
Question: How do you find a paragraph break in perl?
Synopsis: In a string I need to find the paragraph breaks and replace
it with a ^P. Here is my code.
How are paragraphs delimited? Can you give an example with a couple
of paragraphs and the
How paragraphs are delimited is actually my question. In otherwords,
when perl reads in my string, can it identify where the paragraphs
breaks are?
In my example, $text was created in wordpad where 'This is the FIRST
paragraph' and 'This is the SECOND paragraph' are seperated by a
paragraph
On Fri, 14 Oct 2005, Dave Adams wrote:
How paragraphs are delimited is actually my question. In otherwords,
when perl reads in my string, can it identify where the paragraphs
breaks are?
In my example, $text was created in wordpad where 'This is the FIRST
paragraph' and 'This is the SECOND
Please remove my email address from your list, thanks
Tom
On 10/14/05, Chris Devers [EMAIL PROTECTED] wrote:
On Fri, 14 Oct 2005, Dave Adams wrote:
How paragraphs are delimited is actually my question. In otherwords,
when perl reads in my string, can it identify where the paragraphs