Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: how to read a particular paragraph from middle of a file line by line and enter each string in the line as an element of an array

by JediMasterT (Sexton)
on Nov 28, 2011 at 15:59 UTC ( [id://940412]=note: print w/replies, xml ) Need Help??


in reply to how to read a particular paragraph from middle of a file line by line and enter each string in the line as an element of an array

Interesting question. It really depends on what starts or ends a paragraph. For example, If one were using MLA style(because I'm in college and am forced to think in MLA style), then split using "\n\t" into an array, then split each paragraph using whatever "period space" is (I forgot) into a two-dimensional array. Then you could look at each sentence arbitrarily.

Hope that helped!

  • Comment on Re: how to read a particular paragraph from middle of a file line by line and enter each string in the line as an element of an array
  • Watch for: Direct replies / Any replies

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-28 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found