Re: Executing a perl script from Windows 7

2014-03-19 Thread Linda Walsh
Peter Holsberg wrote: Hi, I have a perl script that I would like to execute simply by double-clicking on its name from a Windows filemanager window. I tried using this: #!C:\cygwin64\bin\perl.exe as the first line in the script but when I double-click the script, Windows opens it in a text e

Re: Executing a perl script from Windows 7

2014-03-15 Thread Reini Urban
perl core has a script called pl2bat.pl to create an executable bat file. It's in win32/bin/pl2bat.pl See http://perl5.git.perl.org/perl.git/blob_plain/HEAD:/win32/bin/pl2bat.pl -- Reini Urban http://cpanel.net/ http://www.perl-compiler.org/ -- Problem reports: http://cygwin.com/problems

Re: Executing a perl script from Windows 7

2014-03-09 Thread Andrey Repin
Greetings, Peter Holsberg! >>> I 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, nor do I want to use >>> an icon.) >>> >>> Eg, myscript.pl >>> >>> I tried using

Re: Executing a perl script from Windows 7

2014-03-09 Thread Peter Holsberg
On 3/9/2014 2:18 PM, Max Polk wrote: On 3/9/2014 2:08 PM, Peter Holsberg wrote: I 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, nor do I want to use an icon.) Eg, m

Re: Executing a perl script from Windows 7

2014-03-09 Thread Max Polk
On 3/9/2014 2:08 PM, Peter Holsberg wrote: I 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, nor do I want to use an icon.) Eg, myscript.pl I tried using this #!C

Executing a perl script from Windows 7

2014-03-09 Thread Peter Holsberg
Hi, I 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, nor do I want to use an icon.) Eg, myscript.pl I tried using this #!C:\cygwin64\bin\perl.exe as the first l