in reply to Re: Loging into a series of windows machines
in thread Loging into a series of windows machines

For instance, that's VBScript-ish: foreach my $objItem (in $colItems) { That should be either (@$colItems) or (keys %$colItems) or such depending on what type of reference $colItems is.

Actually not. $colItems is an Win32::OLE object and in is a function exported by that module for iterating collections.

So ease up on the OP cos Win32::OLE is one of the hardest modules around to get to grips with even when you are fully conversant with Perl.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."