Hi, On Tue, 4 Sep 2012 15:40:33 +0300 Shlomi Fish <shlo...@shlomifish.org> wrote:
> Hi Gary, > > On Tue, 4 Sep 2012 13:10:04 +0100 > Gary Stainburn <gary.stainb...@ringways.co.uk> wrote: > > > Hi folks > > > > After a number of weeks I'm returning to my poject to automate some > > file downloads. I've installed Win32::Watir and typed in the > > example program. > > > > However, it doesn't run. I've had a look at the code and I can't see > > why it is complaining. Can anyone help > > > > Gary > > > > C:\Documents and Settings\user1\My Documents>type watir_test.pl > > use Win32::Watir; > > > > You're missing strict and warnings: > > http://perl-begin.org/tutorials/bad-elements/ > > > my $ie = Win32::Watir::new( > > visible => 1, > > maximize =>1 > > ); > > This is wrong (even though it is taken from > https://metacpan.org/module/Win32::Watir 's synopsis. It should be: > > my $ie = Win32::Watir->new( > visible => 1, > maximize =>1 > ); > > Regards, > > Shlomi Fish > Apparently, a similar problem was reported at https://rt.cpan.org/Public/Bug/Display.html?id=56899 which has been filed 2 years ago and was not dealt with. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Apple Inc. is Evil - http://www.shlomifish.org/open-source/anti/apple/ XSLT is the number one cause of programmers’ suicides since Visual Basic 1.0. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/