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.
In reply to Re^2: Loging into a series of windows machines
by BrowserUk
in thread Loging into a series of windows machines
by jarthda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |