This isn't a perl programming issue, but a cygwin/windoze environmental execution issue. Please use the appropriate list to seek further assistance. http://cygwin.com/lists.html http://cygwin.com/ml/cygwin/2004-07/msg00163.html
On Sat, Mar 8, 2014 at 6:25 PM, Yonghua Peng <sys...@mail2000.us> wrote: > You may want to install ActivePerl instead, when installing it changes the > windows registry etc. > > -- > looking for cloud developers: > http://www.nsbeta.info/jobs > > > Saturday, March 8, 2014 3:29 PM -05:00 from Alek Trishan < > alek.tris...@gmail.com>: > > 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<https://e.mail.ru/compose?To=beginners%2dunsubscr...@perl.org> > For additional commands, e-mail: > beginners-h...@perl.org<https://e.mail.ru/compose?To=beginners%2dh...@perl.org> > http://learn.perl.org/ > > > >