in reply to [FIXED] Windows Update via Perl

You may want to check if using LetProperty() does the right thing for you:
$installer->LetProperty("Updates", $updatecoll);

The hash reference syntax in Perl corresponds to the Set assignment in VB. There only is a difference between Let and Set when you are assigning object references.

Replies are listed 'Best First'.
Re^2: Windows Update via Perl (Win32::OLE problem)
by wilsond (Scribe) on Feb 19, 2009 at 00:56 UTC

    Too bad I didn't read your message before I implemented something in VBScript (via Inline::WSC). I'll undo that and use LetProperty as it works great (it seems). Thanks!


    I'm a Linux user. You wouldn't know it since I mostly ask Windows questions. Whee.
    If you want to do evil, science provides the most powerful weapons to do evil; but equally, if you want to do good, science puts into your hands the most powerful tools to do so.
    - Richard Dawkins