in reply to Re: [off-site] Perl snippets at Microsoft
in thread [off-site] Perl snippets at Microsoft
foreach my $foo ( in $stuff ) { ... } ... apparently Win32::OLE defines in()?
Yes it does:
use Win32::OLE('in'); ...
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).
In Section
Meditations