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


in reply to Small Problem with running Perl Scripts in Windows

Take a look at tye's -Mouse. I initially scoffed at it but I've since changed my mind about it. It's quite nice.
  • Comment on Re: Small Problem with running Perl Scripts in Windows

Replies are listed 'Best First'.
Re: Re: Small Problem with running Perl Scripts in Windows
by Anonymous Monk on Jun 16, 2003 at 20:38 UTC
    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.
      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.