If you just want a loop then maybe this is all you need?
for my $itemno (1 .. 100) { my $xyz = $document->M->Item($itemno); # More code here }
See foreach loops in perlsyn for more info.
In reply to Re: Creating a loop for all items in a document
by hippo
in thread Creating a loop for all items in a document
by kanyaya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |