Hello
t_rex_joe,
I have not used module Win32::OLE myself, but from reading the documentation in seems to be a function from the module, that delivers a list of from a given collection object.
From the module documentation:
in(COLLECTION)
If COLLECTION is an OLE collection object then in $COLLECTION returns a list of all members of the collection. This is a shortcut for Win32::OLE::Enum->All($COLLECTION). It is most commonly used in a foreach loop:
foreach my $value (in $collection) {
# do something with $value here
}
So, there is no new
foreach loop syntax, just an imported function
in.
Hope this helps a bit, hexcoder