in reply to print part of an array
I don't fully understand what you want. But here are some things you can do with your array format
Process whole array: for(each)? (@array)
Process parts of an array:
for (@array[0 .. 3]) #access contents in $_ I don't know if this is what you wanted, this is all the elements except for the paragraphs
for (@array[4 .. $#array]) #this is all the paragraphs
In your array, to print all of the paragraphs (is this what you wanted?), just use this:
print "$_\n" for (@array[4 .. $#array]);
|
|---|