Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: [off-site] Perl snippets at Microsoft

by fglock (Vicar)
on Mar 03, 2005 at 15:43 UTC ( [id://436254]=note: print w/replies, xml ) Need Help??


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).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://436254]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-03-28 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found