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
In reply to 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 ansh batra
in thread 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 rockstar99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |