open file and @lines=<FILE> and process @lines in foreach loop
track the starting and ending of paragraph using regex
process the lines if they are the part of paragraph
split lines considering space as separators
push splited line into the main array
|
|---|