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 arrayby JediMasterT (Sexton) |
on Nov 28, 2011 at 15:59 UTC ( [id://940412]=note: print w/replies, xml ) | Need Help?? |
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!
In Section
Seekers of Perl Wisdom
|
|