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