scripts on Windows
> > 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...
>
> The previous op was corr
> > 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...
>
> The previous op was correct. The first line is parsed for switches, un
Dave K wrote:
> Anadi,
> Thanks, but not really...
> The
> #!D:\Perl|bin\perl -w
> is ignored in windows - the key is the file association...
dont forget... not ignored... the line is parsed for switches
> I am not familar with the <% %> syntax (Mason or mod_perl perhaps??), The
That is ho
Nikola Janceski wrote:
> 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
>
Im just guessing, but it seems like this could throw your environment way
out of whack.
Shawn wrote:
>> 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
>
age-
> 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 foll
> 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 a
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
use #!d:\perl\bin\perl.exe -w
on top of your script
eric
On Tue, 18 Jun 2002, A Taylor wrote:
> Hi
>
> >what happens when you try to run a script from commmand line? is the perl
> >executable in your path?
>
> No - the error I get is:
> example.pl is not recognised as an internal or external c
Tim,
Thanks a lot for this.. Thanks to you and a few others on this list I now
have Perl running properly on my server !!!
Well - guess I can kiss the Summer goodbye .. ha ha ;-)
Thanks again
Anadi
>Not sure what happened, every time I have installed, ActiveState
>updated the path. Whe
g perl on windows 2000 ?
>
> Thanks a lot for your help, really really appreciated !!
>
> All the best
>
> Anadi
>
>
> >From: "David Kirol" <[EMAIL PROTECTED]>
> >To: "A Taylor" <[EMAIL PROTECTED]>
> >Subject: RE: runn
!
All the best
Anadi
>From: "David Kirol" <[EMAIL PROTECTED]>
>To: "A Taylor" <[EMAIL PROTECTED]>
>Subject: RE: running perl scripts on Windows
>Date: Tue, 18 Jun 2002 11:11:27 -0400
>
>Anadi,
> Great! Choose your favorite editor,
Hi Tim,
>
>You installed ActivePerl on a windows server right? Did you accept the
>defaults?
Yes - ActivePerl has been installed on my server and I accepted the
defaults.
>When you typed perl -v were you at the _server's_ console cmd prompt?
yes
>What do you get if you type 'path' at a cmd
s will allow command line parameters to be passed to your perl
>scripts.
> >Open a dos window and try:
> >perl -e '
> >print"It worked\n";'
> >
> >Let me know how you make out
> >-David
> >-Original Message-
> >From: A Tayl
Hey A,
My MUA believes you used (X-Mailer not set)
to write the following on Tuesday, June 18, 2002 at 10:41:41 AM.
AT> Hi Tim, thanks for your help,
>>My MUA believes you used (X-Mailer not set)
>>to write the following on Tuesday, June 18, 2002 at 9:55:51 AM.
AT> what is MUA ?
Mail User
Hey A,
My MUA believes you used (X-Mailer not set)
to write the following on Tuesday, June 18, 2002 at 9:55:51 AM.
AT> Hi
>>what happens when you try to run a script from commmand line? is the perl
>>executable in your path?
AT> No - the error I get is:
AT> example.pl is not recognised as an i
Taylor [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 18, 2002 9:56 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: running perl scripts on Windows
>
>
> Hi
>
> >what happens when you try to run a script from commmand line? is the
> >perl exec
Hi
>what happens when you try to run a script from commmand line? is the perl
>executable in your path?
No - the error I get is:
example.pl is not recognised as an internal or external command, operable
program or batch file
How to I make D:\Perl\bin part of my path ?
> 2) The second problem I am up against is: It says in the
> setup procedure (at
> www.activestate.com) that I should be able to run perl
> scripts from my
> command prompt ? I dont seem to be able to do this.
what happens when you try to run a script from commmand line? is the perl
exec
Hi all,
I am runing a windows 2000 server and I have just installed perl that I got
from ActiveState.com. I have been playing and have come up against a few
problems.
1) It seems that writing perl scripts with embedded HTML is more like
writing 'Microsoft Active Server Pages' in Perl, using <%
20 matches
Mail list logo