Hi,

I have installed perl via cygwin on my Windows 7 computer and have a perl script that I would like to execute simply by double-clicking on its name from a Windows filemanager window. (That is, I do not want to use the command line at all.)

Eg, myscript.pl

I tried using this

#!C:\cigwin64\bin\perl.exe

as the first line in the script but when I double-click the script, Windows opens it in a text editor. (I suppose I have .pl associated with that editor!)

How do I fix this?

Thanks.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to