SPUG: Windows Newbie Needs Help

Lorraine Johnson lorraine at nw.saic.com
Thu Sep 28 13:26:09 CDT 2000


Cool.  (At least, it works under NT.)  Thanks for the tip!  

At 11:02 AM 9/28/00 -0700, Creede Lambard wrote:
>You can use
>
>#!/usr/bin/perl
>
>as your shebang line under Windows if you like. I haven't looked at the code
>to be sure, but as far as I can tell Windows just looks for 'perl' in the
>line and then starts interpreting switches (like -w).
>
>Usually I just go ahead and use the Unix-style shebang because (1) it's one
>less thing to remember and (2) I like to be able to have my scripts run on
>either Unix or Windows whenever possible.
>
>Just my $point_zero_two.
>
>-- Creede
>

...................................
J. Lorraine Johnson
SAIC/Sea Technology
lorraine at nw.saic.com
v: (425) 482-3316
f: (425) 485-5566
http://www.nw.saic.com

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/





More information about the spug-list mailing list