On Feb 11, 2009, at 12:44, vijaya R wrote:
Hi,
why can't you compile an exe of the scripts such that all can be
executed
from the respective machines without any dependencies?
Regards,
Vijaya
You can. Take a look at PAR::Packer on CPAN. If you are using
ActivePerl you can use the
Hi,
why can't you compile an exe of the scripts such that all can be executed
from the respective machines without any dependencies?
Regards,
Vijaya
2009/2/11 Sarsamkar, Paryushan :
> Hi All,
Hi
> Can I install perl on a common machine and keep all of our scripts
> there? Then can any team mate run those scripts remotely on that
> machine? Or is there any other way to handle this situation?
I think you should be looking at ssh. Not sure how
G'day...
> Can someone please recommend a book for me. I do some web
> administration w/ perl scripts. I would like to create a web
> page w/ drop down menus... and depending on the selection
> criteria, run that script. I searched on Google a little,
> but not really sure what I'm looking
O'Reilly is your friend (IMHO). You need a good HTML book, and Musciano is
its author. You need the "Camel book" ("Learning Perl", Schwartz et al),
and probably the "Llama book" ("Programming Perl", Wall et al). I'm happy
with them all. I haven't yet found a definitive Apache/CGI book, but you
invoke your
scripts without necessarily using the extension (although the extension
still needs to be there for the file to work)
-Original Message-
From: Shawn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 2:04 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: running perl
> > 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
Hi David,
I have found the 'File Types' and the path was already set to:
D:\perl\bin\perl.exe %1 %*
but this command line doesn't work:
perl -e 'print"It worked\n";'
I get the same 'perl is not recognised as an internal or external command
..'
Any ideas
Cheers
Anadi
> >Anadi,
> >
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
Do this:
1. Open up a terminal session
2. Type "which perl" or to get the location of the Perl interpreter
3. On the very first line of your Perl program, insert the location of the
Perl interpreter as determined in 2.
In my case, this what I got:
momoni:/home/william/bin/PERL_CGI(4)
Em Sábado 16 Fevereiro 2002 14:53, Chris escreveu:
> I'm using redhat linux 7.2 and have a question about running
> perl scripts. How do you make it so you do not have to type
> "perl script.pl" every time you want to run a scripts. I just
> want to be able to type the name of my script. Thanks.
Ah shoot...
On Saturday, February 16, 2002, at 12:04 PM, Chris Garaffa wrote:
>
> ../script.pl
>
Should have been
../script.pl
one period (damn typos)
My apologies
Chris
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
At the beginning of the script (on the first line), put
#!/usr/bin/perl
or whatever the path to your perl binary is
Make sure you chmod the .pl file with correct permissions, and then type
../script.pl
On Saturday, February 16, 2002, at 11:53 AM, Chris wrote:
> I'm using redhat linux 7.2 and hav
Lightning flashed, thunder crashed and Daniel Falkenberg whispered:
| I want to be able to check for errors on my Linux box before I run them in a
| browser. The problem is is tha when I do this all my HTML is dispalyed. I
| don't want to see this I want to be able to just check for any errors
> -Original Message-
> From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 25, 2001 1:46 AM
> To: [EMAIL PROTECTED]
> Subject: Running Perl scripts...
>
>
> List,
>
> I want to be able to check for errors on my Linux box before
> I run them in a browser. The pr
On Jul 25, Jeff 'japhy/Marillion' Pinyan said:
>On Jul 25, Daniel Falkenberg said:
>
>>I want to be able to check for errors on my Linux box before I run them
>>in a browser. The problem is is tha when I do this all my HTML is
>>dispalyed. I don't want to see this I want to be able to just chec
On Jul 25, Daniel Falkenberg said:
>I want to be able to check for errors on my Linux box before I run them
>in a browser. The problem is is tha when I do this all my HTML is
>dispalyed. I don't want to see this I want to be able to just check for
>any errors and display the errors only.
>
>pri
or ActiveState's PDK (Perl Developer Kit) includes an EXE generator
http://www.activestate.com/
>-Original Message-
>From: Paul Cotter [mailto:[EMAIL PROTECTED]]
>Sent: Sun 29 Apr 2001 06:48
>To: Paul Jasa
>Cc: [EMAIL PROTECTED]
>Subject: Re: running Perl script
Lood at perl2exe from http://www.indigostar.com
It's dollarware.
From: "Paul Jasa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, 28 April, 2001 12:41 PM
Subject: running Perl scripts in Windows as an .exe file
> Could anyone tell me whether Perl needs to be installed on an NT bo
34 matches
Mail list logo