in reply to Re: Perl and OLE Help needed
in thread Perl and OLE Help needed

Thanks for the suggestion.
$OLE1->Net->(PasswordTimeout) = 45;
returns "not a subroutine reference"

I will re-read the WIN32::OLE docs again. But so far, no help.
Thanks,
Nat

OH! Wait!
$OLE1->Net->{PasswordTimeout} = 45;
(Braces, not Parens!) It WORKS IT WORKS!!

Much thanks,
Nat

Replies are listed 'Best First'.
Re^3: Perl and OLE Help needed
by Corion (Patriarch) on Feb 07, 2008 at 07:17 UTC

    Read my node again. I used curly brackets {...}, not round parentheses.

      Saw it, before I saw your second reply. I got bit by the small font my browser defaulted to.
      Again, much thanks,
      Nat