Something I just found out. I use NT 4 sp 6, Activestate perl 5.6.1. I create a cmd file for all my perlscripts that have a line
c:/full/path/to/perl c:/path/to/script.pl and it seems that it reads the #! line for command line options, (ie -d). Never knew that. > -----Original Message----- > From: Shawn [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 18, 2002 3:20 PM > To: Tim Musson; [EMAIL PROTECTED] > Subject: Re: running perl scripts on Windows > > > > Hey learn, > > > > My MUA believes you used (X-Mailer not set) > > to write the following on Tuesday, June 18, 2002 at 2:49:32 PM. > > > > lp> use #!d:\perl\bin\perl.exe -w > > > > lp> on top of your script > > > > As I recall, the #! in Windows only uses the switches (-w). > > > > So > > #!perl -w > > is the same as > > #!d:\perl\bin\perl -w > > > > Can anyone verify this? > > On Win2K, from the command line, the she-bang means > absolutely nothing. It's not until you try to run it from a > server that the she-bang comes into play... I think it is > the same across all win32 platforms... > > AFAIK, #!perl will work only if the perl binary is in your > path correctly, otherwise, you must point it to the full path. > > Shawn > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]