Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 wandering the Monastery: (7)
As of 2015-07-08 04:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls