Re: Setting Mouse speed with Perl and Win32::API:

2002-03-16 Thread $Bill Luebkert
Dax T. Games wrote: > Using the following code I believe I have successfully imported the > user32 function but I cannot make it work, I get errors. > > > > Start Code>>> > > > > use Win32::API; > > > > my $SystemParametersInfo = new Win32::API("user32", > "SystemParame

Re: Sort Issues - H E L P

2002-03-16 Thread $Bill Luebkert
Andrew Wax wrote: > Bill, > > Thanks for your help - I ran your program and had the same results as you > did - I will have to strip down the program to a basic framework and > eliminate all the processing around. > > I know I have seen the discussion re: strict before but really never grasped

Re: Looping

2002-03-16 Thread $Bill Luebkert
Malcolm Debono wrote: > Thank you all for the support. > > The problem was using the same file handle about 4 times. I caught that, but that's just part of the problems. I reformatted and inserted some comments/questions with ##. Some further explanation of what you are doing would help. #

RE: Looping

2002-03-16 Thread Will W
>Malcolm Debono wrote on Saturday, March 16, 2002 5:44 AM > #!/usr/bin/perl A suggestion: check into changing the above to #!/usr/bin/perl -w (this is the "-w command line switch" which is probably indexed under "W" in your basic Perl reference-- at least it is in the Camel)

Re: Looping

2002-03-16 Thread Malcolm Debono
Thank you all for the support. The problem was using the same file handle about 4 times. Malcolm - Original Message - From: "Sisyphus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 16 March 2002 21:37 Subject: Re: Looping > Hi Malcolm, > > That's a fair bit of code to wade through

Re: Setting Mouse speed with Perl and Win32::API:

2002-03-16 Thread C. Church
Dax, SPI_SETMOUSE and SPIF_SENDCHANGE are constants, not literal values, so they shouldn't be in quotes. Also, they aren't defined by perl, in any way, unless you've somehow defined them yourself, i.e.: # real values, as defined by winuser.h use constant SPI_SETMOUSE => 4; use constant

Setting Mouse speed with Perl and Win32::API:

2002-03-16 Thread Dax T. Games
Using the following code I believe I have successfully imported the user32 function but I cannot make it work, I get errors.    Start Code>>>   use Win32::API;   my $SystemParametersInfo = new Win32::API("user32", "SystemParametersInfo", [P, P, P, P], N) || die;   @MouseSettings

What do these errors mean and how to fix?

2002-03-16 Thread Tassos123
I am getting the following errors when I execute the code below. Any ideas why and how to fix them? ( I saw something similar posted in the lists before and it had something to do with using "my" and "local" variables and/or passing parameters by reference. Does this ring a bell to anybody?) Here

Re: Looping

2002-03-16 Thread Malcolm Debono
Rob, Sorry about all the code, Bill Luebkert has been giving me hard time, nothing to do with perl. The 'sub repeat_url' works okay, the problem that I am having is the script will not loop and I am not sure why. Merrill Cornish wrote:- >You are reading list.dat line at a time in a while() loo