Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by fglock (Vicar)
on Mar 03, 2005 at 15:43 UTC ( #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).


Comment on Re^2: [off-site] Perl snippets at Microsoft
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (14)
As of 2014-10-21 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (103 votes), past polls