Re: Executing Perl scripts w/o the .pl

2003-12-29 Thread Igor Pechtchanski
On Mon, 29 Dec 2003, Shaffer, Kenneth wrote: > If using Active Perl with cygwin, put the following as the first line of > your perl scripts: > > eval 'exec perl -S `cygpath -w $0`' if 0; > -- > Ken Shaffer ...or put the following in your /usr/local/bin: -- BEGIN /usr/local/bin/wrap -

Re: Executing Perl scripts w/o the .pl

2003-12-29 Thread Shaffer, Kenneth
If using Active Perl with cygwin, put the following as the first line of your perl scripts: eval 'exec perl -S `cygpath -w $0`' if 0; -- Ken Shaffer - - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - - This e-mail and any attachments may contain information which is confid

Executing Perl scripts w/o the .pl

2003-12-19 Thread zzapper
Hi Ya In previous shells I've been able to call/execute perl scripts just by typing say >perlscript without the hassle of typing the .pl > perlscript.pl >echo $PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.php;.pl Another Shell I used recognised PATHEXT (set in Windows) zzappe