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


in reply to -Mouse

I could do that... but I generally put scraps in test.pl and run them with test.bat that contains one line:
perl test.pl
That way, if I double click on a .pl file, it will be ran normally and I won't have to hit enter to end it. You see ActiveState Perl created a file association for me.

Matthew Musgrove
Who says that programmers can't work in the Marketing Department?
Or is that who says that Marketing people can't program?

Replies are listed 'Best First'.
Re: Re: -Mouse
by Mr. Muskrat (Canon) on Jan 28, 2003 at 15:14 UTC

    I'm sorry tye. I was arrogant when I first joined Perl Monks.

    This is a great module that I use from time to time now.

    Update: Here is how to set it up on Windows 98. Save the following as a .reg file and double click it.

    REGEDIT4 [HKEY_CLASSES_ROOT\Perl\shell\Open\command] @="\"C:\\Perl\\bin\\perl.exe\" \"-Mouse\" \"%1\" %*"

    NOTE: Adjust the path to the Perl executable accordingly.