Re: calling a perl script on windows

2006-07-12 Thread Dr.Ruud
Mahdi A Sbeih schreef: > How can I make it to run exactly like Unix, meaning, just use the > first line in the script? Also check ASSOC and FTYPE. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: calling a perl script on windows

2006-07-12 Thread Timothy Johnson
In addition to the suggestions that have already been given about associating the .pl file extension with perl.exe, I would heartily recommend that you install ActivePerl from http://www.activestate.com. It's free, and is the de facto standard for Windows Perl. There are other ones that work (Cygw

RE: calling a perl script on windows

2006-07-12 Thread Sam DeForest
> -Original Message- > From: Mahdi A Sbeih [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 12, 2006 2:41 AM > To: beginners@perl.org > Subject: calling a perl script on windows > > Hi all, > > I am working on porting some scripts from unix to windows, and I noticed > that perl ignores t

Re: calling a perl script on windows

2006-07-12 Thread Beginner
On 12 Jul 2006 at 0:32, Mahdi A Sbeih wrote: > Hi Chandru, > > Do I need to go to windows_explorer->Tools->Folder Options->File Types > and associating the extension ".pl" with the "perl" executable? Yes. However if you've installed activestate's Perl it would have asked if you wanted to do th

Re: calling a perl script on windows

2006-07-12 Thread Rob Dixon
Chandru wrote: Mahdi A Sbeih wrote: Hi all, I am working on porting some scripts from unix to windows, and I noticed that perl ignores the first line of the script, and it seems I have to run the script like this: D:\Perl\bin\perl.exe myscript.pl if I run it like we do on unix: ./myscript.

Re: calling a perl script on windows

2006-07-12 Thread Mahdi A Sbeih
Hi Chandru, Do I need to go to windows_explorer->Tools->Folder Options->File Types and associating the extension ".pl" with the "perl" executable? What if the perl is in the D: drive not C:, also do I need to specify ".exe" Thanks, Mahdi. Chandru wrote: Mahdi A Sbeih wrote: Hi all, I

Re: calling a perl script on windows

2006-07-12 Thread Rob Dixon
> Hi all, Hello Mahdi. > I am working on porting some scripts from unix to windows, and I noticed that > perl ignores the first line of the script, and it seems I have to run the > script like this: > > D:\Perl\bin\perl.exe myscript.pl > > if I run it like we do on unix: > ./myscript.pl > > it w

Re: calling a perl script on windows

2006-07-12 Thread Chandru
Mahdi A Sbeih wrote: Hi all, I am working on porting some scripts from unix to windows, and I noticed that perl ignores the first line of the script, and it seems I have to run the script like this: D:\Perl\bin\perl.exe myscript.pl if I run it like we do on unix: ./myscript.pl it will searc