in reply to print part of an array

>>Because the # of para's will change with the writer, I need to be able to just iterate over the list, but I don't want to display the whole array ($array4 and beyond). I've tried for(), while(), and foreach(), with no luck. >>

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]);


The 15 year old, freshman programmer,
Stephen Rawls