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 reply to Re^2: [off-site] Perl snippets at Microsoft
by fglock
in thread [off-site] Perl snippets at Microsoft
by fglock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |