Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'd like to input this information into my program and split the file into seperate array elements. One element in the array will contain one header with its following sentence. So, in this example the array will be 3 elments in size. Thanks>text 4 'As the low pressure moves in, the winds should slacken towards the en +d of the day. Will be a smaller day than Tuesday, but the odd clean w +ave should be found at some spots.' >text 8 'Unsure as to what the winds will do more today as it'll depend a lot +on the track of the low pressure.' >text 9 'It'll be near calm and mellow conditions, although there's a chance o +f perhaps the odd kneehigh set wave for the North coast.'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: seperating blocks of file content in an array
by BrowserUk (Patriarch) on Nov 18, 2002 at 12:42 UTC | |
|
Re: seperating blocks of file content in an array
by Aristotle (Chancellor) on Nov 18, 2002 at 12:37 UTC | |
|
Re: seperating blocks of file content in an array
by LTjake (Prior) on Nov 18, 2002 at 12:46 UTC |