[24228] in Perl-Users-Digest
Perl-Users Digest, Issue: 6420 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Apr 19 14:51:44 2004
Date: Mon, 19 Apr 2004 11:51:01 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Mon, 19 Apr 2004 Volume: 10 Number: 6420
Today's topics:
Re: One question <spamtrap@dot-app.org>
Re: One question <edgrsprj@ix.netcom.com>
Re: One question <spamtrap@dot-app.org>
Re: One question <edgrsprj@ix.netcom.com>
Re: One question <bik.mido@tiscalinet.it>
Re: One question <bik.mido@tiscalinet.it>
Re: One question <bik.mido@tiscalinet.it>
Re: One question <edgrsprj@ix.netcom.com>
Re: One question <edgrsprj@ix.netcom.com>
Re: One question <edgrsprj@ix.netcom.com>
Re: One question <spamtrap@dot-app.org>
Re: One question <bik.mido@tiscalinet.it>
Re: One question <bik.mido@tiscalinet.it>
Re: One question <bik.mido@tiscalinet.it>
Opening Ports <connell@freebreakfast.co.uk>
Re: Opening Ports <tony_curtis32@_SPAMTRAP_yahoo.com>
pass in array or list of files (joe shaboo)
Re: pass in array or list of files <nobull@mail.com>
Perl & MSQL? <xuxu_18@yahoo.com>
Re: Perl & MSQL? <nospam@bigpond.com>
Re: Perl & MSQL? <xuxu_18@yahoo.com>
Re: Perl & MSQL? <tadmc@augustmail.com>
Re: Perl & MSQL? <spamtrap@dot-app.org>
Re: Perl & MSQL? <ittyspam@yahoo.com>
Perl and Windows 2003 Server (Arthur)
Re: Perl and Windows 2003 Server <tadmc@augustmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Fri, 16 Apr 2004 14:56:07 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: One question
Message-Id: <pZWdnduFVOqusR3dRVn-hQ@adelphia.com>
Michele Dondi wrote:
> On Thu, 15 Apr 2004 12:17:52 -0400, Sherm Pendley
> <spamtrap@dot-app.org> wrote:
>
>>and convert line-endings from DOS to UNIX style in the script
>
> Is that really necessary?
Well, the script choked before I did that, and worked after. You decide. ;-)
Seriously though. It may not have been strictly necessary in the script
outside of the shebang line, but checking the "use UNIX line endings" box
in my editor was trivially simple. Figuring out how to change the shebang
line while leaving the rest unchanged would have been less so.
As for the text inputs, yes, of course you're correct with respect to common
usage. But this script isn't written like that; it reads in fixed-size
blocks of X bytes each, rather than using <> and chomp().
It's not the way I would have written it, but once again, simply selecting a
checkbox in my editor and saving the file was much simpler than fixing the
script.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: Fri, 16 Apr 2004 19:32:04 GMT
From: "edgrsprj" <edgrsprj@ix.netcom.com>
Subject: Re: One question
Message-Id: <UwWfc.8720$l75.3898@newsread2.news.atl.earthlink.net>
"Sherm Pendley" <spamtrap@dot-app.org> wrote in message
news:pZWdnduFVOqusR3dRVn-hQ@adelphia.com...
> Michele Dondi wrote:
If you load any of those original text files from my zip file into one of
your text editors are they being displayed properly on separate lines? Or
does the editor encounter problems such as merging all the lines onto one
endless line or inserting a blank line between each text line?
------------------------------
Date: Fri, 16 Apr 2004 17:04:54 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: One question
Message-Id: <5fqdnX8U2b7-1x3dRVn-ig@adelphia.com>
edgrsprj wrote:
> If you load any of those original text files from my zip file into one of
> your text editors are they being displayed properly on separate lines?
Yes, of course they're displayed properly. Even the most half-baked of text
editors knows how to handle DOS/UNIX/Mac line-endings.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: Fri, 16 Apr 2004 23:03:05 GMT
From: "edgrsprj" <edgrsprj@ix.netcom.com>
Subject: Re: One question
Message-Id: <JCZfc.9040$l75.5129@newsread2.news.atl.earthlink.net>
"Sherm Pendley" <spamtrap@dot-app.org> wrote in message
news:5fqdnX8U2b7-1x3dRVn-ig@adelphia.com...
Thanks. Thought I should check.
There was a second chdir command in the program. And it did not belong
there. It would not have affected anything. But it has been removed in the
latest version. And I plan to get rid of the other chdir command with the
next program version.
------------------------------
Date: Sat, 17 Apr 2004 09:15:32 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: One question
Message-Id: <ekm0805lk46qnti25gik89cr7l4o3sni91@4ax.com>
On Thu, 15 Apr 2004 22:18:20 GMT, "edgrsprj" <edgrsprj@ix.netcom.com>
wrote:
>the problem. You can start it from DOS and see the error messages. But
>that means more work dropping down to DOS and changing directories etc
^^^^^^^^^^^^^^^^^^^^
Huh?!? There is NO difference as far as this (supposed) issue is
concerned between running from the cmd line and as a shortcut. But
then, what about logging to a file? What about a Tk widget to show the
error messages? If the program is supposed to work in a GUI-oriented
way, then why not using a GUI approach to show the error messages too?
Michele
--
you'll see that it shouldn't be so. AND, the writting as usuall is
fantastic incompetent. To illustrate, i quote:
- Xah Lee trolling on clpmisc,
"perl bug File::Basename and Perl's nature"
------------------------------
Date: Sat, 17 Apr 2004 10:25:20 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: One question
Message-Id: <osn180hqv9tm7f0s286k025omn0ae4gd35@4ax.com>
On Fri, 16 Apr 2004 14:56:07 -0400, Sherm Pendley
<spamtrap@dot-app.org> wrote:
>As for the text inputs, yes, of course you're correct with respect to common
>usage. But this script isn't written like that; it reads in fixed-size
>blocks of X bytes each, rather than using <> and chomp().
No, I was just referring to src code.
>It's not the way I would have written it, but once again, simply selecting a
It's not the way anyone would have written it, without having a very
good(TM) reason!
>checkbox in my editor and saving the file was much simpler than fixing the
>script.
Fine, my cmt was not intended as to be critic in your regards in any
way.
Michele
--
you'll see that it shouldn't be so. AND, the writting as usuall is
fantastic incompetent. To illustrate, i quote:
- Xah Lee trolling on clpmisc,
"perl bug File::Basename and Perl's nature"
------------------------------
Date: Sat, 17 Apr 2004 10:25:21 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: One question
Message-Id: <79o1801ojrmv6p9fgj50d2l1sgl1ho7keg@4ax.com>
On Fri, 16 Apr 2004 19:32:04 GMT, "edgrsprj" <edgrsprj@ix.netcom.com>
wrote:
>"Sherm Pendley" <spamtrap@dot-app.org> wrote in message
>news:pZWdnduFVOqusR3dRVn-hQ@adelphia.com...
>> Michele Dondi wrote:
>
>If you load any of those original text files from my zip file into one of
^^^^^^^^^^^^^^^^
>your text editors are they being displayed properly on separate lines? Or
>does the editor encounter problems such as merging all the lines onto one
>endless line or inserting a blank line between each text line?
BTW: that is not what I "wrote", so please give at least a minimum
context!
As far as your question is concerned, the answer is definitely
editor-dependent. So what do you think you can gain by collecting a
bunch of such answers? However it is my personal experience that most
editors can cope in some way or another with CR/CRLF different
conventions, including some very rudimentary ones: even edit.com will
read in a file with *nix \n's and silently save it with dos ones...
As a side note, not a real answer to your question, but are you aware
that (Info-)zip[*]'s zip and unzip both have switches to control line
endings archival and extraction? It's not particularly elegant nor
smart, but I, for one, sometimes do
zip -0 tmp <files>
unzip -oaa tmp
[*] I.e. the *only* zip/unzip programs I'm currently using, but I
suppose many other ones, if not all of them, will provide the same
functionality.
HTH,
Michele
--
you'll see that it shouldn't be so. AND, the writting as usuall is
fantastic incompetent. To illustrate, i quote:
- Xah Lee trolling on clpmisc,
"perl bug File::Basename and Perl's nature"
------------------------------
Date: Sat, 17 Apr 2004 13:30:36 GMT
From: "edgrsprj" <edgrsprj@ix.netcom.com>
Subject: Re: One question
Message-Id: <0kagc.12655$zj3.6454@newsread3.news.atl.earthlink.net>
"Michele Dondi" <bik.mido@tiscalinet.it> wrote in message
news:ekm0805lk46qnti25gik89cr7l4o3sni91@4ax.com...
Michele, you are probably way ahead of me in understanding how Perl works
and what you can get it to do. Right now I am just happy that the program
is generating numbers that look reasonably accurate in a reasonable amount
of time. The programs that I was using took as much as 2 hours to do a
single run. This Perl program does much more in perhaps 20 seconds. And it
is so easy to modify and expand.
------------------------------
Date: Sat, 17 Apr 2004 13:39:47 GMT
From: "edgrsprj" <edgrsprj@ix.netcom.com>
Subject: Re: One question
Message-Id: <Dsagc.12690$zj3.3001@newsread3.news.atl.earthlink.net>
"Michele Dondi" <bik.mido@tiscalinet.it> wrote in message
news:79o1801ojrmv6p9fgj50d2l1sgl1ho7keg@4ax.com...
> As far as your question is concerned, the answer is definitely
> editor-dependent. So what do you think you can gain by collecting a
> bunch of such answers? However it is my personal experience that most
This program involves quite a few text files. And I would like to be able
to exchange them with other people without anyone having to change this or
that in order to get them to display properly. If there were some people
whose text editors did not display the files correctly then I could probably
put a routine into Perl which would read the files, clip off the ending, and
store them again with a format which was compatible with that computer. It
sounds like that will not be necessary.
What I am probably going to have to do is add some extra spaces to the end
of each data line so that information can be read from the line as a
substring without anyone having to worry about what the last few characters
in the line look like.
------------------------------
Date: Sat, 17 Apr 2004 13:40:06 GMT
From: "edgrsprj" <edgrsprj@ix.netcom.com>
Subject: Re: One question
Message-Id: <Wsagc.12691$zj3.9196@newsread3.news.atl.earthlink.net>
"Andy Hassall" <andy@andyh.co.uk> wrote in message
news:is1u70t4bc1ouep736lu7dri38esu4c646@4ax.com...
> On Thu, 15 Apr 2004 21:43:35 GMT, "edgrsprj" <edgrsprj@ix.netcom.com>
wrote:
I did find that information. At the moment I don't know enough about Perl
to get it to work and don't have time to learn how. I am going to try to
get my program in a somewhat finalized form by early this coming week. It
would be helpful to be able to send people compiled programs though. So
figuring out how to do that looks like a worthwhile project.
------------------------------
Date: Sat, 17 Apr 2004 10:47:07 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: One question
Message-Id: <aNadndg-LMfx3hzdRVn-tw@adelphia.com>
edgrsprj wrote:
> What I am probably going to have to do is add some extra spaces to the end
> of each data line so that information can be read from the line as a
> substring without anyone having to worry about what the last few
> characters in the line look like.
Or, you could solve the problem correctly instead. Just use a tab-delimited
file with chomp(). Problem solved.
Seriously, you're writing this in Perl. If you want to use BASIC, use BASIC.
Don't write BASIC that pretends to be Perl.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: Sun, 18 Apr 2004 17:26:55 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: One question
Message-Id: <ea7580l0ce6c6gbol61q07ha5n7nllthjj@4ax.com>
On Sat, 17 Apr 2004 13:39:47 GMT, "edgrsprj" <edgrsprj@ix.netcom.com>
wrote:
>"Michele Dondi" <bik.mido@tiscalinet.it> wrote in message
>news:79o1801ojrmv6p9fgj50d2l1sgl1ho7keg@4ax.com...
>> As far as your question is concerned, the answer is definitely
>> editor-dependent. So what do you think you can gain by collecting a
>> bunch of such answers? However it is my personal experience that most
>
>This program involves quite a few text files. And I would like to be able
>to exchange them with other people without anyone having to change this or
>that in order to get them to display properly. If there were some people
>whose text editors did not display the files correctly then I could probably
>put a routine into Perl which would read the files, clip off the ending, and
>store them again with a format which was compatible with that computer. It
>sounds like that will not be necessary.
No, definitely it won't be necessary as long as Perl, for one thing,
will handle different line ending conventions quite transparently!
>What I am probably going to have to do is add some extra spaces to the end
>of each data line so that information can be read from the line as a
>substring without anyone having to worry about what the last few characters
>in the line look like.
PLEASE DON'T!! (I'm saying: do a favour to yourself and to your
intended audience!)
Michele
--
you'll see that it shouldn't be so. AND, the writting as usuall is
fantastic incompetent. To illustrate, i quote:
- Xah Lee trolling on clpmisc,
"perl bug File::Basename and Perl's nature"
------------------------------
Date: Sun, 18 Apr 2004 17:27:01 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: One question
Message-Id: <v07580plmoh1jltl9qs4bnrg8oesr8gv6l@4ax.com>
On Sat, 17 Apr 2004 13:30:36 GMT, "edgrsprj" <edgrsprj@ix.netcom.com>
wrote:
>"Michele Dondi" <bik.mido@tiscalinet.it> wrote in message
>news:ekm0805lk46qnti25gik89cr7l4o3sni91@4ax.com...
>
>Michele, you are probably way ahead of me in understanding how Perl works
>and what you can get it to do. Right now I am just happy that the program
I may well be... but, probably much less than you may think: my
trivial mistakes are known here and recorded for everyone's fun around
the net. (e.g. on google)
>is generating numbers that look reasonably accurate in a reasonable amount
>of time. The programs that I was using took as much as 2 hours to do a
>single run. This Perl program does much more in perhaps 20 seconds. And it
>is so easy to modify and expand.
Fine to know, so what?!?
Interestingly, however, I cannot see how your cmt may relate to
anything I have written in any thread having to do with your posts.
You didn't quote *properly* my article and I don't know what you're
commenting on and I have a strong feeling you just didn't get my
point, but who knows, since there's no context?!?
Michele
--
you'll see that it shouldn't be so. AND, the writting as usuall is
fantastic incompetent. To illustrate, i quote:
- Xah Lee trolling on clpmisc,
"perl bug File::Basename and Perl's nature"
------------------------------
Date: Sun, 18 Apr 2004 17:27:07 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: One question
Message-Id: <khh480thvfn41a0ukqmqu2tf2i25vfcp0o@4ax.com>
On Sat, 17 Apr 2004 13:40:06 GMT, "edgrsprj" <edgrsprj@ix.netcom.com>
wrote:
>"Andy Hassall" <andy@andyh.co.uk> wrote in message
>news:is1u70t4bc1ouep736lu7dri38esu4c646@4ax.com...
>> On Thu, 15 Apr 2004 21:43:35 GMT, "edgrsprj" <edgrsprj@ix.netcom.com>
>wrote:
>
>I did find that information. At the moment I don't know enough about Perl
^^^^
>to get it to work and don't have time to learn how. I am going to try to
Fine to know! Now, would you please be so kind and allow we all to
know what *that* information is?
Seriously, edgrsprj, PLEASE QUOTE PROPERLY!
Michele
--
you'll see that it shouldn't be so. AND, the writting as usuall is
fantastic incompetent. To illustrate, i quote:
- Xah Lee trolling on clpmisc,
"perl bug File::Basename and Perl's nature"
------------------------------
Date: Mon, 19 Apr 2004 14:38:38 +0100
From: "Connell Gauld" <connell@freebreakfast.co.uk>
Subject: Opening Ports
Message-Id: <c60kgi$drd$1@news8.svr.pol.co.uk>
Hey,
Is there a way to open a port to an IP, send and receive information. What I
would like is something similar to if you use telnet to open to an IP and
port except that the perl code has control.
Thnaks
Connell
------------------------------
Date: Mon, 19 Apr 2004 08:37:51 -0500
From: Tony Curtis <tony_curtis32@_SPAMTRAP_yahoo.com>
Subject: Re: Opening Ports
Message-Id: <87r7ukt7f4.fsf@limey.hpcc.uh.edu>
>> On Mon, 19 Apr 2004 14:38:38 +0100,
>> "Connell Gauld" <connell@freebreakfast.co.uk> said:
> Hey, Is there a way to open a port to an IP, send and
> receive information. What I would like is something similar
> to if you use telnet to open to an IP and port except that
> the perl code has control.
If you're doing something with a well-known protocol, there's
almost certainly a module for it:
http://search.cpan.org/
Otherwise look at Net::Cmd and/or IO::Socket::INET
hth
t
------------------------------
Date: 19 Apr 2004 09:20:39 -0700
From: jshaboo@hotmail.com (joe shaboo)
Subject: pass in array or list of files
Message-Id: <f6d34657.0404190820.5658c65a@posting.google.com>
Hi again,
I'm still working on a dns script. Last time I received some help and
everything works as it should. Basically, it takes the named.conf file
and comments out the next 5 lines of a domain that is given. THis
works great if the domain is hardcoded into the script.
What I'm trying to do is run through a file, and comment out names in
my named.conf file that are no longer hosted.
The script basically has
@ARGV = ("named.conf")
while (<>) {
if (/\b<a new domain feed from a list>/) {
$commenting = 1;
}
print "//" if $commenting;
print;
$commenting = 0 if /^\s*}/;
}
exit;
How can I pass in a new variable from file1, in some kind of for loop?
So, it will individually go through file1, which contains, test.com,
test.net, test.org, test.ws, and comment them out of my named.conf.
Also, alternatively, it would be nice to pass the name of the domain
at the command line. Simple, right...
Thanks,
Joe
------------------------------
Date: 19 Apr 2004 17:54:21 +0100
From: Brian McCauley <nobull@mail.com>
Subject: Re: pass in array or list of files
Message-Id: <u9brln3o3m.fsf@wcl-l.bham.ac.uk>
jshaboo@hotmail.com (joe shaboo) writes:
> I'm still working on a dns script. Last time I received some help and
> everything works as it should. Basically, it takes the named.conf file
> and comments out the next 5 lines of a domain that is given. THis
> works great if the domain is hardcoded into the script.
>
> What I'm trying to do is run through a file, and comment out names in
> my named.conf file that are no longer hosted.
>
> The script basically has
>
> @ARGV = ("named.conf")
>
> while (<>) {
> if (/\b<a new domain feed from a list>/) {
> $commenting = 1;
> }
> print "//" if $commenting;
> print;
> $commenting = 0 if /^\s*}/;
> }
> exit;
Why are you alterming @ARGV and then using the magic <> to read the
named.conf? Would it not be simpler to open it with open()?
> How can I pass in a new variable from file1, in some kind of for loop?
You are asking how to read file line linewise? Why, you open it with
open() and read lines with readline() (a.k.a the <> operator). (See
the file handling section of any Perl tutorial or reference).
> So, it will individually go through file1, which contains, test.com,
> test.net, test.org, test.ws, and comment them out of my named.conf.
Probably simpler to slurp the whole file into an array (see FAQ) then
iterate over that array within the loop that iterates over the lines
of named.conf.
> Also, alternatively, it would be nice to pass the name of the domain
> at the command line. Simple, right...
Yes, command line arguments are in @ARGV (so long as you don't change it).
--
\\ ( )
. _\\__[oo
.__/ \\ /\@
. l___\\
# ll l\\
###LL LL\\
------------------------------
Date: Mon, 19 Apr 2004 05:08:05 -0400
From: "Profetas" <xuxu_18@yahoo.com>
Subject: Perl & MSQL?
Message-Id: <27c9ce83a9365b7e019688d7c5bce83b@localhost.talkaboutprogramming.com>
Hi, I am looking for a language that could
execute shell commands, access mysql server
and be executed by a browser.
is Perl for this job?
My intention is:
I have set up a web server (only for me), and I want to
monitor the system from university. I my own PC
I have done some BASH scripts that enable me to do this
but now I am wondering which language should I learn to
make this monitoring system? does perl have mysql support
like php?
I know that PHP has a shell scripting.
Thanks Profetas
------------------------------
Date: Mon, 19 Apr 2004 20:47:24 +1000
From: Gregory Toomey <nospam@bigpond.com>
Subject: Re: Perl & MSQL?
Message-Id: <1445132.IAP0uj257e@GMT-hosting-and-pickle-farming>
Profetas wrote:
> Hi, I am looking for a language that could
> execute shell commands, access mysql server
> and be executed by a browser.
> is Perl for this job?
Yes. The DBI package does the database connectvity.
> My intention is:
> I have set up a web server (only for me), and I want to
> monitor the system from university. I my own PC
> I have done some BASH scripts that enable me to do this
> but now I am wondering which language should I learn to
> make this monitoring system? does perl have mysql support
> like php?
> I know that PHP has a shell scripting.
>
> Thanks Profetas
Bash translates readily to Perl, but not so easily to PHP.
PHP has limited "scripting". Perl has everything + the kitchen sink, is
often used in web applications, & often used in non-web applications.
Just about all modern linux/unix distros allow you to install PHP & Perl.
gtoomey
------------------------------
Date: Mon, 19 Apr 2004 08:48:27 -0400
From: "Profetas" <xuxu_18@yahoo.com>
Subject: Re: Perl & MSQL?
Message-Id: <77e97126893f710c9240cf827f8eb767@localhost.talkaboutprogramming.com>
Thanks, That is what I suspected. :-)
------------------------------
Date: Mon, 19 Apr 2004 08:49:41 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Perl & MSQL?
Message-Id: <slrnc87m7l.43s.tadmc@magna.augustmail.com>
Profetas <xuxu_18@yahoo.com> wrote:
> Hi, I am looking for a language that could
> execute shell commands, access mysql server
> and be executed by a browser.
> is Perl for this job?
No.
Perl can execute shell commands.
Perl can access a mysql server.
Perl does not execute on the client (browser) it executes on the server.
> My intention is:
> I have set up a web server (only for me), and I want to
> monitor the system from university. I my own PC
> I have done some BASH scripts that enable me to do this
> but now I am wondering which language should I learn to
> make this monitoring system?
I don't see any "executed by a browser" there, so why did you
say you need that?
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: Mon, 19 Apr 2004 10:24:13 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Perl & MSQL?
Message-Id: <vZ-dnWxh5emMfB7dRVn-vA@adelphia.com>
Tad McClellan wrote:
> Perl does not execute on the client (browser)
Mostly true, but in some cases it can execute in a browser. ActiveState's
Perl hooks into Windows Scripting, so you can put Perl in <script>
elements, and if the client has installed AS Perl IE will run it.
Doing this is not at all appropriate for the WWW, naturally, but it can be
interesting if you're developing something for yourself, or for some other
environment where you have complete control over the client(s). It
certainly beats the heck out of playing around with VB or JS.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: Mon, 19 Apr 2004 11:09:18 -0400
From: Paul Lalli <ittyspam@yahoo.com>
Subject: Re: Perl & MSQL?
Message-Id: <20040419110702.G21613@dishwasher.cs.rpi.edu>
On Mon, 19 Apr 2004, Sherm Pendley wrote:
> Tad McClellan wrote:
>
> > Perl does not execute on the client (browser)
>
> Mostly true, but in some cases it can execute in a browser. ActiveState's
> Perl hooks into Windows Scripting, so you can put Perl in <script>
> elements, and if the client has installed AS Perl IE will run it.
>
> Doing this is not at all appropriate for the WWW, naturally, but it can be
> interesting if you're developing something for yourself, or for some other
> environment where you have complete control over the client(s). It
> certainly beats the heck out of playing around with VB or JS.
>
It should be pointed out at this point that the OP *probably* wanted to
know if a browser could contact a server that would execute Perl code, and
the answer to that is obviously YES. So if the OP is still reading, yes,
Perl is still what you want.
Paul Lalli
------------------------------
Date: 18 Apr 2004 06:58:32 -0700
From: amerar@iwc.net (Arthur)
Subject: Perl and Windows 2003 Server
Message-Id: <8b622eae.0404180558.27270085@posting.google.com>
Hi All,
I'm using Windows 2003 Server for the first time. I just installed
Activeperl. I have the standard edition of 2003 server. Is there
anything special that I need to do so that Perl scripts will run?
Will Perl run on 2003 Server Standard Edition?
Thanks,
Arthur
------------------------------
Date: Sun, 18 Apr 2004 10:30:05 -0500
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Perl and Windows 2003 Server
Message-Id: <slrnc857nt.1fl.tadmc@magna.augustmail.com>
Arthur <amerar@iwc.net> wrote:
> I'm using Windows 2003 Server for the first time. I just installed
> Activeperl. I have the standard edition of 2003 server. Is there
> anything special that I need to do so that Perl scripts will run?
Yes, but they are the same things as if you were using Python or Java.
Please ask server setup questions in a newsgroup about servers, such as:
comp.infosystems.www.servers.ms-windows
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 6420
***************************************