Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Extract Paragraph From Text

by 2teez (Vicar)
on Sep 08, 2015 at 07:31 UTC ( #1141311=note: print w/replies, xml ) Need Help??


in reply to Extract Paragraph From Text

What output exactly are you looking for? Please check this How do I post a question effectively?

UPDATE:

kcott got here before me! :)!

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Replies are listed 'Best First'.
Re^2: Extract Paragraph From Text
by perlbeginneraaa (Novice) on Sep 08, 2015 at 15:28 UTC
    Hi 2teez, Thanks for reply! As I replied to Ken and shadowsong, I expect exactly what you got here, that is, the code prints the paragraphs separately. However, when I execute the perl codes on my computer, it returns the whole text back. I am not sure why this happens......

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2021-04-11 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?