In windows it uses the file association only, and in recent installs of
ActiveState Perl where I work, the installer sets all of this up for you.

So try it out, it might already be set up.  Otherwise create a file
extension .pl (or whatever) and set the "Open" action to
"C:\Perl\bin\perl.exe" "%1" %*

Perl will still look at the shebang line to see if you used any switches
like turing on warnings... but other than that, Windows will not look at it,
so ti is optional.

(Or you could install Cygwin :) ...You would chmod it just like Unix/Linux)

Rob

-----Original Message-----
From: Booher Timothy B 1stLt AFRL/MNAC
[mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 5:45 PM
To: [EMAIL PROTECTED]
Subject: make a executable with a perl file in windows


Hello - I just loaded ActiveState perl onto my computer today . . . while I
normally use perl on my unix machine and modify the file using chmod +x
perlFile.pl - what can I do on dos or do I have to type perl PerlFile.pl
everytime to run PerlFile?
 
Thanks,
 
Tim

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to