http://qs321.pair.com?node_id=266289


in reply to Re: Small Problem with running Perl Scripts in Windows
in thread Small Problem with running Perl Scripts in Windows

The -Mouse looks like a good idea, but I tried installing it based on the Win 98 post, and it didn't work. What about getting it to work for Win XP? I realize that adding a line for input at the end of each program could correct this problem, but if someone has a way to automatically implement that (i.e. -Mouse, apparently, or any other method), I would appreciate it since I won't have to type it in each time.
  • Comment on Re: Re: Small Problem with running Perl Scripts in Windows

Replies are listed 'Best First'.
Re: Re: Re: Small Problem with running Perl Scripts in Windows
by Mr. Muskrat (Canon) on Jun 16, 2003 at 20:44 UTC
    You should be able to follow the directions given in the comments for -Mouse. Go to a command prompt and type:
    assoc .pl=Perl ftype Perl=perl -Mouse "%1" %*
      ActivePerl documentation recommends that you provide an absolute path to perl.exe even if it is defined in %PATH%. By the way, their example for Windows 98 does not work since they omitted the quotation marks around the input argument list. I use "%1 %*" and it works fine.