Thank you! I'm close. However, I'm having trouble translating a word marco command into Perl to goto the next section: after I get the count of sections, I do:
for ($i=1; $i<=$sections; $i++){
#In Word, it does this next comment line, which I'm not
#translating correctly and which sometimes gives the
#blue screen of death...
#Selection.GoTo what:=wdGoToSection,
#which:=wdGoToFirst, Count:=1, Name:=""
$doc->ActiveWindow->Selection->Goto
("wdGotoSection", "wdGoToNext", 1, );
#do more stuff...how in the world does above line Xlate?
}