Don't ask to ask, just ask | |
PerlMonks |
Re^2: [off-site] Perl snippets at Microsoftby fglock (Vicar) |
on Mar 03, 2005 at 15:43 UTC ( [id://436254]=note: print w/replies, xml ) | Need Help?? |
foreach my $foo ( in $stuff ) { ... } ... apparently Win32::OLE defines in()? Yes it does:
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
|
|