[13777] in Perl-Users-Digest
Perl-Users Digest, Issue: 1187 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Oct 27 22:22:35 1999
Date: Wed, 27 Oct 1999 19:22:19 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <941077339-v9-i1187@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Wed, 27 Oct 1999 Volume: 9 Number: 1187
Today's topics:
messy DOS, winDoze, and the great bit bucket in the sky <dchristensen@california.com>
Re: messy DOS, winDoze, and the great bit bucket in the <matthias.schwarze@wiesbaden.netsurf.de>
Re: messy DOS, winDoze, and the great bit bucket in the <dchristensen@california.com>
Re: messy DOS, winDoze, and the great bit bucket in the <cassell@mail.cor.epa.gov>
Re: messy DOS, winDoze, and the great bit bucket in the <cassell@mail.cor.epa.gov>
META TAG ?????? <frederic.pechet@freesbee.fr>
Re: META TAG ?????? <gellyfish@gellyfish.com>
mod perl anomalies <tom@tnunn.demon.co.uk>
Re: mod perl anomalies <tom@tnunn.demon.co.uk>
Re: mod perl anomalies (Bart Lateur)
Re: mod perl anomalies <randy@theoryx5.uwinnipeg.ca>
Re: mod perl anomalies <tom@tnunn.demon.co.uk>
mod_perl for ISAPI? <jon@midnightbeach.com>
Re: mod_perl for ISAPI? <gellyfish@gellyfish.com>
Modifying HTML tags in multiple files <Lee.Creighton@sas.com>
Re: Modifying HTML tags in multiple files <jon@midnightbeach.com>
Re: Modifying HTML tags in multiple files (Tad McClellan)
Re: Modifying HTML tags in multiple files (Christopher R. Maden)
Re: Modules and the Gnu GPL (Abigail)
MOTD web script? pkey@sghms.ac.uk
Re: MOTD web script? <rootbeer@redcat.com>
MS ACCESS and Perl <oneillNOonSPAM@cs.uregina.ca.invalid>
Re: MS ACCESS and Perl (d.k. henderson)
Re: MS ACCESS and Perl <cassell@mail.cor.epa.gov>
Re: Need for Speed - Perlcompiler? (Andrew Johnson)
Re: Need for Speed - Perlcompiler? <csaba.raduly@sophos.com>
need help making a small script (Glenn Paulsen)
Re: need help making a small script (Glenn Paulsen)
Re: need help making a small script (Michel Dalle)
Re: Need help With Date and Time Stamps on a File <sswaminathan@micron.com>
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 27 Oct 1999 13:15:04 -0700
From: "David Christensen" <dchristensen@california.com>
Subject: messy DOS, winDoze, and the great bit bucket in the sky
Message-Id: <381759b6_5@news5.newsfeeds.com>
posted to comp.lang.perl.misc
--
David Christensen
dchristensen@california.com
-----Original Message-----
From: carl <cswartz@ticnet.com>
To: dchristensen@california.com <dchristensen@california.com>
Date: Tuesday, October 26, 1999 9:41 PM
Subject: messy DOS, winDoze, and the great bit bucket in the sky
>WARNING : message contains lines of 84 characters
>Sir,
>
> I read your posts to the newbie about learning perl form the
>online documentation and I think you made creditable suggestions.
>
>I am also a perl newbie, but have been battling the demon-brew
>of Gates for the last 10 years. I know about pipelines (well,
>Bill's way to do pipelines) and redirection (sigh, again B's
>way to do this stuff). I am here to tell you : perldoc breaks
>with dos.
>
> Now don't chap my lips 'cause I am NOT down on perl. I just
>can't get perldoc to work correctly with the latest dos that
>lies beneath 98 OSR 2. I am running a K6-333 with 96MB and:
>
> C:\temp>perl -v
>
> This is perl, version 5.005_03 built for MSWin32-x86-object
> (with 1 registered patch, see perl -V for more detail)
>
> Copyright 1987-1999, Larry Wall
>
> Binary build 520 provided by ActiveState Tool Corp.
http://www.ActiveState.com
> Built 17:55:54 Sep 28 1999
>
>
> Perl may be copied only under the terms of either the Artistic
License or the
> GNU General Public License, which may be found in the Perl 5.0
source kit.
>
> Complete documentation for Perl, including FAQ lists, should be
found on
> this system using `man perl' or `perldoc perl'. If you have access
to the
> Internet, point your browser at http://www.perl.com/, the Perl Home
Page.
>
>on 98OSR2. I just tried:
>
> C:\temp>perldoc -f open | more
>
>and EVERYTHING scrolls up to great bit-bucket in the sky. Unless I am
>really quick on the (Pause) button, I never see the first five or ten
>lines of any help screen. Want to see more of my frustrations? First:
>
> C:\temp>dir open.txt
>
> Volume in drive C has no label
> Volume Serial Number is 1A27-0ADC
> Directory of C:\temp
>
> File not found
> 2,506.98 MB free
>
>And now I give it a go:
>
> C:\temp>perldoc -f open > open.txt
>>
>> (many lines rapidly scroll off the screen)
>>
> C:\temp>dir open.txt
>
> Volume in drive C has no label
> Volume Serial Number is 1A27-0ADC
> Directory of C:\temp
>
> OPEN TXT 0 10-26-99 11:25p open.txt
> 1 file(s) 0 bytes
> 0 dir(s) 2,506.98 MB free
>
>Not even append works:
>
> C:\temp>perldoc -f open >> open.txt
>>
>> (many lines rapidly scroll off the screen)
>>
> C:\temp>dir open.txt
>> [snip]
> OPEN TXT 0 10-26-99 11:26p open.txt
>
>
>So, what can I do? Perldoc (as implimented under winDOZE)
>seems to be using BIOS (or win.dll ?) calls directly, it is NOT
>simply sending bytes to STDOUT. Since STDOUT has no bytes,
>there is nothing to pipeline (to more) and nothing to redirect
>(to open.txt for example).
>
> Perhaps you can give me a hint on what I need to do to be
>able to use the packaged documentation? I find no mention of
>this problem at CPAN, and the comp.lang.perl.misc newsgroup
>bites the head off any newbie who asks this question.
>
> If you want, forward any, all, or none of this letter to the
>newsgroup. I await any possible solution.
>
>carl swartz
>
>
>"Cutting the space budget really restores my faith in humanity. It
>eliminates dreams, goals, and ideals and lets us get straight to the
>business of hate, debauchery, and self-annihilation."
> -- Johnny Hart
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: Wed, 27 Oct 1999 23:59:48 +0200
From: Matthias Schwarze <matthias.schwarze@wiesbaden.netsurf.de>
Subject: Re: messy DOS, winDoze, and the great bit bucket in the sky
Message-Id: <381775D4.5020DDBB@wiesbaden.netsurf.de>
> >and EVERYTHING scrolls up to great bit-bucket in the sky. Unless I am
> >really quick on the (Pause) button, I never see the first five or ten
> >lines of any help screen.
Try to increase the line buffer of the DOS-box to 200 or more lines.
That way you can scroll the "lost lines" back on screen.
Matthias
------------------------------
Date: Wed, 27 Oct 1999 13:34:03 -0700
From: "David Christensen" <dchristensen@california.com>
Subject: Re: messy DOS, winDoze, and the great bit bucket in the sky
Message-Id: <38175e1d_3@news5.newsfeeds.com>
comp.lang.perl.misc & Carl:
From: carl <cswartz@ticnet.com>
Date: Tuesday, October 26, 1999 9:41 PM
>>can't get perldoc to work correctly with the latest dos that
>>lies beneath 98 OSR 2.
Looks like you made a valiant effort :-) I never had to deal with that
particular problem because of my secret weapon ("GNU Software for
MS-Windows and MS-DOS"):
http://www.fsf.org/order/windows.html
It's the best free software I ever paid for -- seriously.
I run Bash and have set my PAGER environment variable in autoexec.bat.
Perldoc seems to use it for pods (both Bash and DOS box), but not
built-in's (?). Pipes and redirection work in Bash, but fail in a DOS
box (as you noted):
~$ perldoc -f tie | less
You can read all about on my web site:
http://www.dnai.com/~dchrist/HOWTO/
--
David Christensen
dchristensen@california.com
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: Wed, 27 Oct 1999 16:48:29 -0700
From: David Cassell <cassell@mail.cor.epa.gov>
Subject: Re: messy DOS, winDoze, and the great bit bucket in the sky
Message-Id: <38178F4D.8A40A844@mail.cor.epa.gov>
David Christensen wrote:
> -----Original Message-----
> From: carl <cswartz@ticnet.com>
[snip]
> >I am also a perl newbie, but have been battling the demon-brew
> >of Gates for the last 10 years. I know about pipelines (well,
> >Bill's way to do pipelines) and redirection (sigh, again B's
> >way to do this stuff). I am here to tell you : perldoc breaks
> >with dos.
Tragically, Carl is correct.. for win95/98. You can get
perldoc to work right on WinNT though. There has been a lot
of discussion on this in the Perl-win32-Users mailing list,
so anyone can go to the ActiveState archives and find the
answer: the future version of perldoc is available, and will
run on the latest ActiveState build.
David
--
David Cassell, OAO cassell@mail.cor.epa.gov
Senior computing specialist
mathematical statistician
------------------------------
Date: Wed, 27 Oct 1999 16:50:32 -0700
From: David Cassell <cassell@mail.cor.epa.gov>
Subject: Re: messy DOS, winDoze, and the great bit bucket in the sky
Message-Id: <38178FC8.A4E945FD@mail.cor.epa.gov>
Matthias Schwarze wrote:
>
> > >and EVERYTHING scrolls up to great bit-bucket in the sky. Unless I am
> > >really quick on the (Pause) button, I never see the first five or ten
> > >lines of any help screen.
>
> Try to increase the line buffer of the DOS-box to 200 or more lines.
> That way you can scroll the "lost lines" back on screen.
This only works on WinNT, not 95 or 98 . And in WinNT you can
patch the source to get things working properly without fiddling
with the line buffer, so you don't need this tip there either.
This has been covered in the Perl-Win32-Users mailing list.
David
--
David Cassell, OAO cassell@mail.cor.epa.gov
Senior computing specialist
mathematical statistician
------------------------------
Date: Mon, 25 Oct 1999 11:04:01 +0200
From: "Frédéric PECHET" <frederic.pechet@freesbee.fr>
Subject: META TAG ??????
Message-Id: <r%UQ3.3914$VS3.12734@nnrp2.none.net>
hi,
i have just one question:
How to read the meta tag in HTML file ?
Can you explain me ?
(with a little source code ??... )
It will be very nice ;-))
Thank's a lot !!!
Fred
------------------------------
Date: 25 Oct 1999 10:24:56 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: META TAG ??????
Message-Id: <381421e8_1@newsread3.dircon.co.uk>
Frédéric PECHET <frederic.pechet@freesbee.fr> wrote:
> hi,
>
> i have just one question:
> How to read the meta tag in HTML file ?
> Can you explain me ?
>
You could use the module HTML::HeadParser - there is an example of its
use in the documentation for the module.
/J\
--
"Teletext - the information super B-road" - Exclusive, Channel 5
------------------------------
Date: Tue, 26 Oct 1999 20:25:59 +0100
From: Thomas Nunn <tom@tnunn.demon.co.uk>
Subject: mod perl anomalies
Message-Id: <GsFWRDAHBgF4EwSI@tnunn.demon.co.uk>
Hello,
I'm not entirely sure if this is the right place to ask about mod perl
issues, but I'm sure there are some people here who know what I need to
know so here goes anyway..
Basically I'm trying to get what would seem to be a simple script to run
under mod perl for a bit of a speed gain. All the script does is print
out a form in html, that form when submitted calls the same cgi which
then writes the information to a file.
I can supply code if it is appropriate.
Now I know (At least I think I do) about all the problems to do with
globally declared variables and the suchlike. I have made sure that all
of my variables are declared with my, and I'm also using strict just to
be sure.
However every so often when I submit the form, the record that is added
to the file is actually a repetition of a record added a few submits
before.
I can see no pattern to this repetition, it just seems to randomly
remember a string that was used a little while before.
So.. Anyone have any Idea what might be going on? I'm quite confused
myself.
Any help is much appreciated.
--
Thomas Nunn
------------------------------
Date: Wed, 27 Oct 1999 15:54:28 +0100
From: Thomas Nunn <tom@tnunn.demon.co.uk>
Subject: Re: mod perl anomalies
Message-Id: <38171224.C841A6CA@tnunn.demon.co.uk>
Bart Lateur wrote:
> Thomas Nunn wrote:
>
> >However every so often when I submit the form, the record that is added
> >to the file is actually a repetition of a record added a few submits
> >before.
>
> I've noticed with Netscape that if you press a "submit" button, it is
> not rare at all that it posts the request several times. You can
> sometimes see a "transfer interrupted!" message appear as soon as you
> press the button.
>
I've noticed this too, but this is a different problem.
> So, it's most likely not a mod_perl problem.
>
You might think that, but the same script, when run with the normal perl
compiler has no such problems. So it most definitely is a mod perl problem.
> Solution: expect this to happen. Catch it. Store, or example, a unique
> ID (e.g. Unix time plus $$ appended; sleep at least one second) as a
> hidden value in the form. Ignore this post, or overwrite the older one,
> if you see the same ID used more than once.
>
Quite a cunning Idea to avoid people reloading the form, although my form
already has a field that should always be unique.
> --
> Bart.
Thomas Nunn.
------------------------------
Date: Wed, 27 Oct 1999 10:54:29 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: mod perl anomalies
Message-Id: <3819d902.2838743@news.skynet.be>
Thomas Nunn wrote:
>However every so often when I submit the form, the record that is added
>to the file is actually a repetition of a record added a few submits
>before.
I've noticed with Netscape that if you press a "submit" button, it is
not rare at all that it posts the request several times. You can
sometimes see a "transfer interrupted!" message appear as soon as you
press the button.
So, it's most likely not a mod_perl problem.
Solution: expect this to happen. Catch it. Store, or example, a unique
ID (e.g. Unix time plus $$ appended; sleep at least one second) as a
hidden value in the form. Ignore this post, or overwrite the older one,
if you see the same ID used more than once.
--
Bart.
------------------------------
Date: 26 Oct 1999 20:07:41 GMT
From: Randy Kobes <randy@theoryx5.uwinnipeg.ca>
Subject: Re: mod perl anomalies
Message-Id: <7v51md$rrm$1@canopus.cc.umanitoba.ca>
In comp.lang.perl.misc, Thomas Nunn <tom@tnunn.demon.co.uk> wrote:
> Basically I'm trying to get what would seem to be a simple script to run
> under mod perl for a bit of a speed gain. All the script does is print
> out a form in html, that form when submitted calls the same cgi which
> then writes the information to a file.
> Now I know (At least I think I do) about all the problems to do with
> globally declared variables and the suchlike. I have made sure that all
> of my variables are declared with my, and I'm also using strict just to
> be sure.
> However every so often when I submit the form, the record that is added
> to the file is actually a repetition of a record added a few submits
> before. I can see no pattern to this repetition, it just seems
> to randomly remember a string that was used a little while before.
Hi,
Might it be a problem with clients reloading a previously
filled out form? Also, are you running with warnings turned
on? This might give a clue. Finally, take a look at the mod_perl
guide at http://perl.apache.org/ - this has a discussion
on how, in some circumstances, variables may not assume the
values one thinks they should.
best regards,
Randy Kobes
------------------------------
Date: Tue, 26 Oct 1999 21:20:44 +0100
From: Thomas Nunn <tom@tnunn.demon.co.uk>
Subject: Re: mod perl anomalies
Message-Id: <zcTb9CAc0gF4Ew39@tnunn.demon.co.uk>
In article <7v51md$rrm$1@canopus.cc.umanitoba.ca>, Randy Kobes
<randy@theoryx5.uwinnipeg.ca> writes
>Hi,
> Might it be a problem with clients reloading a previously
>filled out form?
I'm actually testing this whole system out myself at the moment, it's a
long way from being filled out by clients so I'm fairly sure it's not
that.
>Also, are you running with warnings turned
>on? This might give a clue.
Remind me.. Is that Apache::perlwarn?
>Finally, take a look at the mod_perl
>guide at http://perl.apache.org/ - this has a discussion
>on how, in some circumstances, variables may not assume the
>values one thinks they should.
I have taken a look at that but it might be worth me revisiting it.
Thanks for the input.
--
Thomas Nunn
------------------------------
Date: Wed, 27 Oct 1999 11:46:18 -0700
From: Jon Shemitz <jon@midnightbeach.com>
Subject: mod_perl for ISAPI?
Message-Id: <3817487A.3DD5783C@midnightbeach.com>
[I'm not sure if this is the right group for this, but I've seen other
Perl-internals questions here.]
I've finally gotten to the stage where I'm running my Perl scripts on my
NT machine under PWS. It's quite clear that even with ISAPI caching
turned on, each script is reloaded and recompiled every time it's
called. As I understand it, mod_perl under Apache loads a script once,
and simply creates a new thread for it, each time it's run.
How heroic a hack was this? Is something like this doable under ISAPI,
or does Apache have some special features that allowed this?
--
http://www.midnightbeach.com - Me, my work, my writing, and
http://www.midnightbeach.com/hs - my homeschool resource pages
------------------------------
Date: 27 Oct 1999 20:02:42 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: mod_perl for ISAPI?
Message-Id: <7v7lp2$jlt$1@gellyfish.btinternet.com>
On Wed, 27 Oct 1999 11:46:18 -0700 Jon Shemitz wrote:
> [I'm not sure if this is the right group for this, but I've seen other
> Perl-internals questions here.]
>
> I've finally gotten to the stage where I'm running my Perl scripts on my
> NT machine under PWS. It's quite clear that even with ISAPI caching
> turned on, each script is reloaded and recompiled every time it's
> called. As I understand it, mod_perl under Apache loads a script once,
> and simply creates a new thread for it, each time it's run.
>
> How heroic a hack was this? Is something like this doable under ISAPI,
> or does Apache have some special features that allowed this?
>
I think you would be better of asking in
comp.infosystems.www.servers.ms-windows
as this is a question about ISAPI rather than Perl.
The Apache web server has an API for extension modules of which mod_perl
is one - embedding a Perl interpreter into each server process and further
allowing Perl programs and modules access to the API. A Perl program
may be run by the embedded interpreter which can emulate the CGI (if
used with the appropriate Perl modules) - a compiled Program thus run
will stay in memory as long as the server process is alive or until the
process is used to process a request for another resource whichever is the
shorter. Of course the same could be said for any other server embedded
Interpreter (Java, Python spring to mind). You would be best to look at
<http://perl.apache.org> for more on this or ask in the group:
comp.infosystems.www.servers.unix
for questions about how Apache works with these kind of modules.
/J\
--
Jonathan Stowe <jns@gellyfish.com>
<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>
------------------------------
Date: Mon, 25 Oct 1999 17:49:08 GMT
From: "Lee Creighton" <Lee.Creighton@sas.com>
Subject: Modifying HTML tags in multiple files
Message-Id: <FK66tw.HqB@unx.sas.com>
Hi everyone,
I'm fairly new to perl and am trying to learn it through O'Reilly's books.
I've got a problem that I can't seem to locate a reference for.
I have a series of about 100 HTML files collected in a series of folders on
a WinNT machine. In each file, I need to add an attribute to certain HTML
tags. For example, I need to change all the <h3> tags to say <h3><font
face="Arial" size="4" color="#ff0000"., and all the </h3> tags to say
</h3></font>.
Although I see a lot on pattern matching, how do I get perl to do this kind
of thing on multiple files?
If anyone has a script that does something like this, I'd like to see it. I
learn better through example than through prose.
Thanks,
Lee Creighton
Lee.Creighton@sas.com
------------------------------
Date: Tue, 26 Oct 1999 11:49:49 -0700
From: Jon Shemitz <jon@midnightbeach.com>
Subject: Re: Modifying HTML tags in multiple files
Message-Id: <3815F7CD.C4787343@midnightbeach.com>
Lee Creighton wrote:
> Although I see a lot on pattern matching, how do I get perl to do this kind
> of thing on multiple files?
This snippet assumes that the "source" files are in a subdirectory of
the "target" files:
foreach (<*.htm*>) { CheckHtmlFile($_); }
sub CheckHtmlFile { # calls ProcessHtmlFile() iff .. doesn't exist or is older
my $filename = shift;
my $target = "../$filename"; # ../ works under Windows, and avoids \\ escapes
ProcessHtmlFile($filename, $target) if (not -e $target) or (-M $filename < -M $target);
}
The "foreach (<*.htm*>)" iterates over all the *.htm* files in the
directory. "-e $Target" tells you if the target file exists; the "-M"
tests tell you if the target is newer than the source.
--
http://www.midnightbeach.com - Me, my work, my writing, and
http://www.midnightbeach.com/hs - my homeschool resource pages
------------------------------
Date: Tue, 26 Oct 1999 04:47:03 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Modifying HTML tags in multiple files
Message-Id: <7qp3v7.bh9.ln@magna.metronet.com>
Lee Creighton (Lee.Creighton@sas.com) wrote:
: I'm fairly new to perl and am trying to learn it through O'Reilly's books.
: I've got a problem that I can't seem to locate a reference for.
perldoc -q HTML
: I have a series of about 100 HTML files collected in a series of folders on
: a WinNT machine. In each file, I need to add an attribute to certain HTML
^^^^^^^^^^^^^^^^
: tags. For example, I need to change all the <h3> tags to say <h3><font
: face="Arial" size="4" color="#ff0000"., and all the </h3> tags to say
: </h3></font>.
That is not "adding an attribute".
Attributes go _inside_ of tags.
face, size, and color are attributes on the font element.
: Although I see a lot on pattern matching, how do I get perl to do this kind
: of thing on multiple files?
use File::Find;
See also the -i switch in perlrun.pod
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Mon, 25 Oct 1999 23:48:40 -0700
From: crism@exemplary.net (Christopher R. Maden)
Subject: Re: Modifying HTML tags in multiple files
Message-Id: <crism-2510992348400001@pm3b-28.meer.net>
In article <FK66tw.HqB@unx.sas.com>, "Lee Creighton"
<Lee.Creighton@sas.com> wrote:
> I have a series of about 100 HTML files collected in a series of folders on
> a WinNT machine. In each file, I need to add an attribute to certain HTML
> tags. For example, I need to change all the <h3> tags to say <h3><font
> face="Arial" size="4" color="#ff0000"., and all the </h3> tags to say
> </h3></font>.
No you don't - you want them to say </font></h3>.
> Although I see a lot on pattern matching, how do I get perl to do this kind
> of thing on multiple files?
You could hardcode a list of files, but that would be silly. Better would
be to pass your script a list as parameters:
% munghtml.pl *.html
That'll put the list of files into @ARGV because the shell will expand the
wildcard. (I'm assuming you're using UNIX; I don't know how Windows
handles the situation.)
-Chris
--
Christopher R. Maden, Solutions Architect
Exemplary Technologies
One Embarcadero Center, Ste. 2405
San Francisco, CA 94111
------------------------------
Date: 25 Oct 1999 03:21:52 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Modules and the Gnu GPL
Message-Id: <slrn8184o7.fji.abigail@alexandra.delanet.com>
Steve Vertigan (vertigan@bigfoot.com) wrote on MMCCXLVI September
MCMXCIII in <URL:news:3813f09e.100694950@news.iinet.net.au>:
\\ A couple of the modules that I've looked at on CPAN are released under the
\\ full GPL (Not the library GPL). As I understand it, any program or library
\\ that I write that uses these modules will also be under the GPL, and if I
\\ wrote a library that I wanted to release under a BSD-style license or the
\\ Artistic license I wouldn't be able to use these modules. Is this a correct
\\ assumption? Also if I'm asked to write a non-free program for an employer
\\ would I be able to use these modules?
These questions are probably better discussed in gnu.* than in this group.
You find more people familiar with the details of the GPL than you will
find here - furthermore, this isn't a Perl specific issue.
Abigail
--
perl5.004 -wMMath::BigInt -e'$^V=Math::BigInt->new(qq]$^F$^W783$[$%9889$^F47]
.qq]$|88768$^W596577669$%$^W5$^F3364$[$^W$^F$|838747$[8889739$%$|$^F673$%$^W]
.qq]98$^F76777$=56]);$^U=substr($]=>$|=>5)*(q.25..($^W=@^V))=>do{print+chr$^V
%$^U;$^V/=$^U}while$^V!=$^W'
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: Tue, 26 Oct 1999 15:31:38 GMT
From: pkey@sghms.ac.uk
Subject: MOTD web script?
Message-Id: <3815c940.96080934@news.dl.ac.uk>
i am looking for a CGI script - probably perl - that displays a
message of the day on a web page as well as archiving and indexing
previous messages - a sort of HTML news archive.
does anyone know of the whereabouts of such a script?
thanks
paul
------------------------------
Date: Tue, 26 Oct 1999 14:45:17 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: MOTD web script?
Message-Id: <Pine.GSO.4.10.9910261445020.29843-100000@user2.teleport.com>
On Tue, 26 Oct 1999 pkey@sghms.ac.uk wrote:
> i am looking for a CGI script - probably perl -
If you're wishing merely to _find_ (as opposed to write) programs,
this newsgroup may not be the best resource for you. There are many
freeware and shareware archives which you can find by searching Yahoo
or a similar service. Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Wed, 27 Oct 1999 12:13:18 -0700
From: oneill78 <oneillNOonSPAM@cs.uregina.ca.invalid>
Subject: MS ACCESS and Perl
Message-Id: <12bbc47e.e5bdcab4@usw-ex0110-073.remarq.com>
Does anybody know where I can get info on using Perl with
MS access without using a server
* Sent from AltaVista http://www.altavista.com Where you can also find releated Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
------------------------------
Date: Wed, 27 Oct 1999 22:07:27 GMT
From: dalekh@hotmail.com (d.k. henderson)
Subject: Re: MS ACCESS and Perl
Message-Id: <8E6CB8F6Bdkhenderson@207.14.236.172>
You can use the ODBC interface:
http://search.cpan.org/search?module=DBD::ODBC
no personal experience tho'
------------------------------
Date: Wed, 27 Oct 1999 16:36:40 -0700
From: David Cassell <cassell@mail.cor.epa.gov>
Subject: Re: MS ACCESS and Perl
Message-Id: <38178C88.11AD6FB5@mail.cor.epa.gov>
oneill78 wrote:
>
> Does anybody know where I can get info on using Perl with
> MS access without using a server
After that 'test' post here, you may not get anyone else to
answer you. But you can get at MS Access directly from
Perl using the Win32::ODBC module, or by the DBI and DBD::ODBC
modules. I recommend option #2, although I've heard that
option #1 may be marginally faster.
Still, I would suggest you avoid using MS Access whenever
possible. It is not robust. It does not scale. It does
not do a good job when you have multiple requests coming
in [e.g. webwork]. Move those Access files to a better
database first.
> * Sent from AltaVista http://www.altavista.com Where you can also find releated Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
"Smart is Beautiful", huh? I'll bet that's why Alta Vista
is using PhDs in their ad campaigns instead of models.
At least they're ahead of Deja.com in the slogan wars.
David
--
David Cassell, OAO cassell@mail.cor.epa.gov
Senior computing specialist
mathematical statistician
------------------------------
Date: Mon, 25 Oct 1999 13:30:47 GMT
From: andrew-johnson@home.com (Andrew Johnson)
Subject: Re: Need for Speed - Perlcompiler?
Message-Id: <bYYQ3.981$pA3.15081@news1.rdc1.mb.home.com>
In article <38141A74.814E63C2@sophos.com>,
Csaba Raduly <csaba.raduly@sophos.com> wrote:
[snip]
! Is there a "profiling" tool that could measure the time spent
! in various parts of the Perl program/script ?
! (If RTFM, please quote chapter :-)
grepping the perlfaqs turns up:
perlfaq3.pod: How do I profile my Perl programs?
a CPAN search for 'profile' at:
http://theory.uwinnipeg.ca/search/cpan-search.html
turns up (among other things):
Devel::DProf: a Perl code profile
Devel::SmallProf: per-line Perl profiler
hope that helps,
andrew
--
Andrew L. Johnson http://www.manning.com/Johnson/
I drink to make other people interesting.
-- George Jean Nathan
------------------------------
Date: Mon, 25 Oct 1999 09:53:08 +0100
From: Csaba Raduly <csaba.raduly@sophos.com>
Subject: Re: Need for Speed - Perlcompiler?
Message-Id: <38141A74.814E63C2@sophos.com>
Ala Qumsieh wrote:
>
> "Bernd Kronmueller (EED)" <Bernd.Kronmueller@eedn.ericsson.se> writes:
>
[Q&A about compiling, snipped]
>
> Perhaps if you identify the pieces of code where your program seems to
> be taking the most amount of time, and then post them here, someone
> will point you to a better way to do things.
>
Is there a "profiling" tool that could measure the time spent
in various parts of the Perl program/script ?
Csaba
(If RTFM, please quote chapter :-)
--
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/>GMU d- s:- a30 C++$ UL+ P+>+++ L++ E- W+ N++ o? K? w++>$ O++$ M-
V- PS PE Y PGP- t+ 5 X++ R* tv++ b++ DI+++ D++ G- e+++ h-- r-- !y+
-----END GEEK CODE BLOCK-----
Csaba Raduly, Software Developer (OS/2), Sophos Anti-Virus
mailto:csaba.raduly@sophos.com http://www.sophos.com/
US Support +1 888 SOPHOS 9 UK Support +44 1235 559933
Life is complex, with real and imaginary parts.
------------------------------
Date: Wed, 27 Oct 1999 09:25:17 GMT
From: glepa@yahoo.com (Glenn Paulsen)
Subject: need help making a small script
Message-Id: <3816c3ed.1378947551@news.telia.no>
Anyone have the time to help me make a small script?
I can pay some... contact me on glepa@yahoo.com for details.
Glenn
------------------------------
Date: Wed, 27 Oct 1999 13:51:14 GMT
From: glepa@yahoo.com (Glenn Paulsen)
Subject: Re: need help making a small script
Message-Id: <38170230.8657689@news.telia.no>
Hehe thanks... but i have allready done that...
But thanks for trying... :-;
On Wed, 27 Oct 1999 09:35:41 GMT, michel.dalle@usa.net (Michel Dalle)
wrote:
>In article <3816c3ed.1378947551@news.telia.no>, glepa@yahoo.com (Glenn Paulsen) wrote:
>>Anyone have the time to help me make a small script?
>
>#! /usr/local/bin/perl -w
>print "Hello, world !\n";
>
>Michel.
------------------------------
Date: Wed, 27 Oct 1999 09:35:41 GMT
From: michel.dalle@usa.net (Michel Dalle)
Subject: Re: need help making a small script
Message-Id: <7v6hb4$r8s$4@news.mch.sbs.de>
In article <3816c3ed.1378947551@news.telia.no>, glepa@yahoo.com (Glenn Paulsen) wrote:
>Anyone have the time to help me make a small script?
#! /usr/local/bin/perl -w
print "Hello, world !\n";
Michel.
------------------------------
Date: Mon, 25 Oct 1999 10:24:56 -0700
From: Shuba Swaminathan <sswaminathan@micron.com>
To: "B.J.G." <Ghassemlou@home.com>
Subject: Re: Need help With Date and Time Stamps on a File
Message-Id: <38149267.E8786F6A@micron.com>
check faq 5.
http://language.perl.com/newdocs/pod/perlfaq5.html#How_do_I_get_a_file_s_timestamp_
B.J.G. wrote:
> I am trying to get the time/date of last update on certain files on the
> server
> is there any perl command that supports that
> Thanks
> bGhassemlou@yahoo.com
------------------------------
Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 16 Sep 99)
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: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.
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 V9 Issue 1187
**************************************