Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2014-09-23 21:34 GMT
Find Nodes?
    Voting Booth?

    How do you remember the number of days in each month?

    Results (241 votes), past polls