[18484] in Perl-Users-Digest
Perl-Users Digest, Issue: 652 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Apr 8 09:05:48 2001
Date: Sun, 8 Apr 2001 06:05:12 -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: <986735112-v10-i652@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Sun, 8 Apr 2001 Volume: 10 Number: 652
Today's topics:
Re: ? The best Perl book ? <mtsouk@freemail.gr>
Re: ? The best Perl book ? <keesh@users.pleaseremovethisbit.sourceforge.net>
Re: [OT] Re: password encryption (Eric Bohlman)
Re: [OT] Re: password encryption <flavell@mail.cern.ch>
Re: Catch ctrl-C before it kills perl process? <gellyfish@gellyfish.com>
Re: complaint about moderation of this group (---Pete---)
Re: complaint about moderation of this group (---Pete---)
Re: complaint about moderation of this group <flavell@mail.cern.ch>
Re: complaint about moderation of this group lvirden@cas.org
Re: complaint about moderation of this group lvirden@cas.org
Re: inheritance within one file? <gellyfish@gellyfish.com>
Re: makefile <mtsouk@freemail.gr>
Re: newbie help - replace <P> tags only if within <DIR> <gellyfish@gellyfish.com>
Re: problem with making dirs! <webmaster@netdating.nl>
Re: problem with making dirs! <gellyfish@gellyfish.com>
Re: problem with quoting or how to avoid \n at the the (Eric Bohlman)
Re: So what do YOU use Perl for? <webmaster@webdragon.unmunge.net>
Re: So what do YOU use Perl for? (Martien Verbruggen)
Re: So what do YOU use Perl for? <mtsouk@freemail.gr>
Re: So what do YOU use Perl for? (Eric Bohlman)
Re: So what do YOU use Perl for? <keesh@users.pleaseremovethisbit.sourceforge.net>
Re: So what do YOU use Perl for? <gellyfish@gellyfish.com>
Re: So what do YOU use Perl for? <keesh@users.pleaseremovethisbit.sourceforge.net>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 8 Apr 2001 11:48:14 +0300
From: "Mihalis Tsoukalos" <mtsouk@freemail.gr>
Subject: Re: ? The best Perl book ?
Message-Id: <9ap8qu$r30$1@ulysses.noc.ntua.gr>
A really good Perl book is "Perl Cookbook" but after you have learned the
basics of Perl.
It is a very useful book. You are going to need it sooner or later.
cheers,
Mihalis.
Dejan Bizinger <lists@brokerpal.com> wrote in message
news:9an5a5$j8v$1@news.EUnet.yu...
> I would like to start learning Perl so I would like you to recommend me
some
> good book. I want to buy a book that starts explaining basics thru
advanced
> programming. I have several picks like:
> Programming Perl - Larry Wall
> Learning Perl - Larry Wall
> Perl - The Complete Reference - McGraw-Hill
> Thanks in advance.
> Regards,
> Dejan
> Editor of BrokerPal Newsletter - free list of expired
domain
> names, domain texts, news, auctions
> Subscribe: mailto:bizi-subscribe@listbot.com
------------------------------
Date: Sun, 08 Apr 2001 11:02:27 +0100
From: "Ciaran McCreesh" <keesh@users.pleaseremovethisbit.sourceforge.net>
Subject: Re: ? The best Perl book ?
Message-Id: <9apctv$k8a$1@news7.svr.pol.co.uk>
In article <9an5a5$j8v$1@news.EUnet.yu>, "Dejan Bizinger"
<lists@brokerpal.com> wrote:
> I would like to start learning Perl so I would like you to recommend me
> some good book. I want to buy a book that starts explaining basics thru
> advanced programming.
Start off with Programming Perl. It is the best book out there -- I've
yet to see a decent Perl book published by anyone other than O'Reilly (is
that how it's spelt???). If you're short on cash and have a lot of
experience with other languages, you _could_ get away with the Perl in a
Nutshell book, but you're best with the full Camel.
After that, it depends upon what you want to do. The Cookbook is good,
and Mastering Regular Expressions, although not entirely Perl, is useful
if you want to use regex for anything complex. The DBI book is alright if
you need to do database stuff, although IHMO it's not on par with the
others.
Basically, stick to O'Reilly and you'll be OK. Just don't get the Wrox
Press book, it's awful. And no, I won't justify that statement, someone
else can do it.
HTH,
Ciaran
--
Ciaran McCreesh
mail: keesh@users.sourceforge.net
web: http://www.opensourcepan.com/
------------------------------
Date: 8 Apr 2001 09:08:14 GMT
From: ebohlman@omsdev.com (Eric Bohlman)
Subject: Re: [OT] Re: password encryption
Message-Id: <9ap9pu$i5l$1@bob.news.rcn.net>
Szilvia Oszko <soszko@gmu.edu> wrote:
> Steven Smolinski wrote:
>> [
>> First of all, DO NOT STEALTH CC ME AGAIN!
>> Yes, I meant to shout that.
>> ]
> What is stealth cc and what's so awful about it?
Stealth cc is mailing, as well as posting, a reply without giving any
reliable indication in the body of the reply that it was posted as well as
mailed. What's awful about it is that most people check their mail before
they read news, and generally check their mail more frequently than they
read news. Thus, if the addressee comes across your stealth-cc'd reply,
he/she is likely to think that it was a purely personal reply, rather than
something also posted to the group, and will compose a personal reply and
mail it to you. Then he/she reads news, sees that your reply was posted
in the group, and now has to respond again, this time to the whole group,
if he/she wants to continue participating in the discussion. This is very
annoying when it happens, because of the wasted effort involved.
IMHO, if you cc a response that's also posted to the group, the best thing
to do is put "[posted and mailed]" in the first line of the response.
That way it's absolutely clear to the recipient that the response also
went to the group, and thus he/she can choose when/where to reply. Note
that some people object to receiving cc's of newsgroup postings. It's
debatable whether sending an initial cc is a social faux pas in that case,
but continuing to cc responses to someone who's asked you not to do so
definitely is one.
Note that *some* mail readers give an automatic indication of whether a
piece of mail was a cc from a newsgroup, but not all of them do.
Therefore, it's not acceptable to rely on this; you really need to include
explicit wording in your response. Telling a recipient to get a "better"
mail reader in order to save yourself the effort is extraordinarily rude
behavior.
------------------------------
Date: Sun, 8 Apr 2001 12:50:18 +0200
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: [OT] Re: password encryption
Message-Id: <Pine.LNX.4.30.0104081236350.11811-100000@lxplus003.cern.ch>
On 8 Apr 2001, Eric Bohlman wrote:
> Stealth cc is mailing, as well as posting, a reply without giving any
> reliable indication in the body of the reply that it was posted as well as
> mailed. What's awful about it
[...details omitted...]
Agreed.
> Note
> that some people object to receiving cc's of newsgroup postings.
My old friend John Stockton has an article about this
http://www.merlyn.demon.co.uk/news-use.htm#NandM
There _is_ a posting header (Mail-Copies-To:) which discreetly
advertises one's stance on this topic; the problem is that the typical
offender wouldn't know they're supposed to look for it, nor does most
usenet posting software seem to respond in any helpful way to it.
Google finds documentation on this header, including:
http://www.smfr.org/mtnw/docs/AppendixB.html#Mail_Copies_To
As this is all OT for Perl, I'd better stop (f'ups
prophylactically set)
------------------------------
Date: 8 Apr 2001 12:02:10 GMT
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Catch ctrl-C before it kills perl process?
Message-Id: <9apk02$avb$2@plutonium.btinternet.com>
Matthew Weaver <msw99@u.washington.edu> wrote:
> My script runs a bunch of executables, but some of the executables may
> get stuck in an infinite loop. Is there a way to catch ctrl-C (to
> stop the loop) before it stops my whole script?
>
Read about %SIG in the perlvar manpage.
Essentially it comes down to :
$SIG{INT} = sub { print "Ooof - copped Ctrl-C" };
/J\
--
Jonathan Stowe |
<http://www.gellyfish.com> | This space for rent
|
------------------------------
Date: Sun, 08 Apr 2001 08:25:18 GMT
From: bogus@erol.com (---Pete---)
Subject: Re: complaint about moderation of this group
Message-Id: <3ad019ae.432866969@news.earthlink.net>
On Sun, 8 Apr 2001 13:52:23 +1000, mgjv@tradingpost.com.au (Martien
Verbruggen) wrote:
>CGI programs are not offtopic as long as the issues discussed are Perl
>issues. The CGI issues are offtopic. That is the point. It has nothing
>to do with what the program is supposed to do, be it CGI, system admin
>tasks, text parsing, or calculating the average number of raindrops in a
>cumulus cloud. The Perl parts of all those prorgams are on-topic. The
>non-Perl parts, i.e. the langiuage independent parts, are offtopic.
>
>What is so bloody hard to understand about that?
--------
In theory, I agree with you. However, in my experience, it
was not until after I purchsed a book on Perl and a book
on CGI and reading various postings in this Perl NG and
the CGI NG that I was able to see the dividing line.
Martien, to prove the point you made above , I challange
you or anyone to copy and paste a section from the Perl
docs that explains the dividing line between CGI & Perl in
a manner that would be (or should be) clearly understood
by a person new to Perl.
Hey, don't get me wrong, I never posted a CGI off-topic
question here because right from the beginnning, I noticed
that other people were being discouraged from doing so.
It took me several weeks and $100 in books before I
was able to see the dividing line between Perl & CGI.
I'm just trying to explain why this might be an ongoing
problem and to offer some possible solutions.
What's not 100% clear to me is why all the concern
because... comp.infosystems.www.authoring.cgi
only gets about 20 posting per day <grin>.
---pete---
------------------------------
Date: Sun, 08 Apr 2001 08:29:09 GMT
From: bogus@erol.com (---Pete---)
Subject: Re: complaint about moderation of this group
Message-Id: <3ad0207a.434607225@news.earthlink.net>
On Sat, 7 Apr 2001 19:42:12 -0400, tadmc@augustmail.com (Tad
McClellan) wrote:
>---Pete--- <bogus@erol.com> wrote:
>
>>Suggestion:
>>If this "CGI off-topic" issue is an ongoing problem here, I
>>suggest that a new NG be fomed called... comp.lang.perl.cgi
>
>
>Let us know when you have the RFD ready.
------
TAD, I'll just repeat below what I stated in my original post.
<smile>
PS: To anyone else like Kyle, it's not likely
that a new CGI newsgroup will be formed because
comp.infosystems.www.authoring.cgi
is low traffic as it is.
---pete---
------------------------------
Date: Sun, 8 Apr 2001 10:49:53 +0200
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: complaint about moderation of this group
Message-Id: <Pine.LNX.4.30.0104081038290.5469-100000@lxplus003.cern.ch>
On Sun, 8 Apr 2001, Scott wrote:
> CGI scripts that are written in perl are not off topic.
Totally misses the point. What is complained of is not that the
script is written in Perl, but that the questions are not about Perl.
> What is on topic?
On Usenet, that question is answered first and foremost by the group's
charter. Perhaps modified to some extent by the behaviour of the
group's regulars. As I see it, _both_ of these criteria are telling us
that discussions about non-Perl-language aspects of Perl CGI scripts
have a better home to go to, and would benefit from going there.
> Who cares if a post is more CGI related than perl related?
Well, the person who posts it is the one who needs to care most
directly, since the choice of appropriate group determines the quality
of the answers they're rated to get. And some of the best-reputed
Perl programmers have been seen to post sub-optimal answers about CGI
questions here, which is perfectly understandable since it's not their
speciality.
Indirectly, of course, the group regulars care, because such behaviour
raises the noise level even further, and makes it harder for them to
find worthwhile postings. Eventually they drift away to other forums,
and are lost to us.
> This is a high traffic newsgroup
Which is exactly the reason why people should be doubly-careful to
select the right group for posting. I can see that you'll be
migrating down a number of scorefiles as a result of this altercation.
> Hence the name comp.lang.perl.misc. Miscellaneous; all the odds and ends of
> anything slightly perl related under the sun.
Totally misguided.
--
This .sig only acknowledges that the message was displayed on
the recipient's machine. There is no guarantee that the
content has been read or understood.
------------------------------
Date: 8 Apr 2001 10:34:15 GMT
From: lvirden@cas.org
Subject: Re: complaint about moderation of this group
Message-Id: <9aper7$rsk$1@srv38.cas.org>
According to Alan J. Flavell <flavell@mail.cern.ch>:
:On Usenet, that question is answered first and foremost by the group's
:charter.
Sure would be nice if this charter were more clear on most usenet groups...
but then, that thread would be off topic (legitamately of course) to this
newsgroup.
So perhaps this will bring this msg on topic. Is the original newsgroup
charter message for comp.lang.perl.misc and the other perl groups available
somewhere 'obvious' on the internet? A google search doesn't turn up
a single site containing all the charters quickly anyways - it shows
a scattering of sites, which may, among lots of other things, contain
the charters.
I wonder if it would be useful to begin a 'history of comp.lang.perl*'
type subsection of 'a history of perl' somewhere?
--
--
"See, he's not just anyone ... he's my son." Mark Schultz
<URL: mailto:lvirden@cas.org> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting
------------------------------
Date: 8 Apr 2001 10:38:11 GMT
From: lvirden@cas.org
Subject: Re: complaint about moderation of this group
Message-Id: <9apf2j$rsk$2@srv38.cas.org>
According to <lvirden@cas.org>:
: Is the original newsgroup
:charter message for comp.lang.perl.misc and the other perl groups available
:somewhere 'obvious' on the internet? A google search doesn't turn up
:a single site containing all the charters quickly anyways - it shows
:a scattering of sites, which may, among lots of other things, contain
:the charters.
Well, obviously I was typing before my fingers woke up. What I _meant_
to type was that the google search didn't quickly turn up a perl based site
containing all the comp.lang.perl charters... I apologize for the
confusing words...
--
--
"See, he's not just anyone ... he's my son." Mark Schultz
<URL: mailto:lvirden@cas.org> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting
------------------------------
Date: 8 Apr 2001 12:25:18 GMT
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: inheritance within one file?
Message-Id: <9aplbe$g38$1@neptunium.btinternet.com>
Uri Guttman <uri@sysarch.com> wrote:
>
> read object oriented perl or take damian's class in boston (see below)
> to really learn about OO perl.
>
Or read the perlboot, perltoot, perlbot, perlobj and perlmod manpages :)
/J\
--
Jonathan Stowe |
<http://www.gellyfish.com> | This space for rent
|
------------------------------
Date: Sun, 8 Apr 2001 11:38:26 +0300
From: "Mihalis Tsoukalos" <mtsouk@freemail.gr>
Subject: Re: makefile
Message-Id: <9ap88i$qhr$1@ulysses.noc.ntua.gr>
I think that it would be better to download a precompiled version of perl.
cheers,
Mihalis.
Ronald W Cherry <cherry@netdepot.com> wrote in message
news:3ACFC5F9.8B466DC@netdepot.com...
> Hi,
>
> Just downloaded Perl for the PC.
>
> Attempting to run nmake on Makefile, get fatal error saying cant make
> config_H.vc?
>
> nmake is part of Microsofts Visual C++
>
> Makefile is in Perl\win32
>
> config_H.vc exists in same dir as Makefile
>
> What to do?
------------------------------
Date: 8 Apr 2001 12:14:23 GMT
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: newbie help - replace <P> tags only if within <DIR> tags
Message-Id: <9apkmv$avb$3@plutonium.btinternet.com>
"Jürgen Exner" <juex@my-deja.com> wrote:
> "JP" <jpvdv@hotmail.com> wrote in message
> news:oEyz6.20033$BU4.33535@news1.blktn1.nsw.optushome.com.au...
>> Hi, i'm just starting out with perl. I am writing a program which replaces
>> <P> and </P> tags with <LI> and </LI> only if they are within <DIR> tags
>> any <P>s outside need to be unchanged.
>>
>> I have put the whole file into a string but cannot figure out how to only
>> replace the <P>s if they are within <DIR> and </DIR>
>>
>> is there some kind of way I can do this with a for loop? or is it easier
> to
>> do it in a regex?
>
> Use HTML::Parser.
The OP might want to look at the (long overdue for an overhaul) examples
at :
<http://www.gellyfish.com/htexamples/>
/J\
--
Jonathan Stowe |
<http://www.gellyfish.com> | This space for rent
|
------------------------------
Date: Sun, 8 Apr 2001 13:14:37 +0200
From: "Bert" <webmaster@netdating.nl>
Subject: Re: problem with making dirs!
Message-Id: <3ad04790$0$21298@reader5>
> And as a matter of interest, why are you using Perl under IIS and not
> Linux/Apache.
> I've used both and IIS is a dog - a cocker spaniel in fact.
Well, that's because i didn't knew it would matter that much.. I've always
used Linux, and since a week i've got an own domain, with hosting, and it's
Win ME.. I regret it already but we'll see... I'll give Bill a last change
to prove me Windows could be kinda nice.. :)
------------------------------
Date: 8 Apr 2001 12:46:04 GMT
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: problem with making dirs!
Message-Id: <9apmic$g38$2@neptunium.btinternet.com>
Bert <webmaster@netdating.nl> wrote:
>> Yes. The "anyone" there would be the perl itself. To have perl
>> tell you why the mkdir() failed, simply check the return value
>> from the function call, and include the $! special variable in
>> the output message:
>>
>> mkdir $anydir, 0777 or die "could not mkdir($anydir) $!";
>>
>>
> aha, thank you, but now I get:
>
> CGI Error
> The specified CGI application misbehaved by not returning a complete set of
> HTTP headers. The headers it did return are:
>
>
> mkdir: 'd:/internet/root/www/mrp/test': Access is denied at
> d:\internet\root\www\mrp\www\join\reg.cgi line 4.
>
> So mr Perl is not helping me that much :)
But it is.
> Why is my access denied?
>
That is a question better determined by examining the permissions on the
directory in question via whatever facilities the OS provides - not
necessarily with Perl.
/J\
--
Jonathan Stowe |
<http://www.gellyfish.com> | This space for rent
|
------------------------------
Date: 8 Apr 2001 08:36:45 GMT
From: ebohlman@omsdev.com (Eric Bohlman)
Subject: Re: problem with quoting or how to avoid \n at the the end of <<EOF?
Message-Id: <9ap7ut$c8e$1@bob.news.rcn.net>
Mona Wuerz <wuerz@yahoo.com> wrote:
> In article <3ACF5BD7.6CA8@java.seite.net>, Christoph Bergmann
> <info@java.seite.net> wrote:
>> is there a possibility to write
>>
>> $x=<<EOF
>> text
>> EOF
>>
>> without an additional \n at the end of "text" ??
> not that I know of, but what's wrong with chomp, if the \n bothers you?
Well, it does rely on a coincidence, namely that the input record
separator happens to have the same value as the last character(s) of a
quoted literal, and thus couples two logically unrelated quantities. I'd
use the qq quoting operator in a case like this.
------------------------------
Date: 8 Apr 2001 08:18:50 GMT
From: "Scott R. Godin" <webmaster@webdragon.unmunge.net>
Subject: Re: So what do YOU use Perl for?
Message-Id: <9ap6ta$fci$0@216.155.33.28>
In article <3ACFB415.63D2CA91@gmu.edu>, Szilvia Oszko <soszko@gmu.edu>
wrote:
| One recurring theme in this newsgroup seems to be that Perl!=CGI and
| that while Perl is often used to write CGI scripts, it can also be used
| to do a lot of other things. I'd be curious to see what non-CGI stuff
| you do with Perl.
When first getting started with Perl, I sort of 'had a vision' of
something I wanted to do (ultimately a CGI but that's beside the point),
and decided that since I wanted to make a CGI out of the end-result,
that I should finally get around to making a serious effort to learn
Perl.
Since I had a completed 'vision' of the end result, breaking it up into
steps, each of which could be completed separately and integrated into
the whole process, was relatively simple.
the first script was a 'parser' that would run out to the NaliCity
Unreal Tournament website <http://www.planetunreal.com/nalicity/> and
suck the data out of the five web pages that display the map listings
(NaliCity is a repository for third-party maps for the game, and
supplies reviews of them as well as allowing users to download), and
dump them into a flat-file.
Originally it was done with regexes, since most of the pages' table data
were contained in javascript (ugly as hell). Eventually they changed to
a SQL database format, which allowed me to re-write the whole script
using HTML::Parser (took me about an hour to figure it out and implement
it into the revised script) and basically got much neater than the
original.
Somewhere along the lines of producing the CGI to re-display this info
the way *I* wanted it to look, (as well as having a local copy of the
data to make searching for maps and reviews much simpler and faster than
waiting for the NC pages to load ;), it occurred to me that Perl was
eminently suitable as a reporting language also, and could thus be used
to generate error reports on the data I was downloading...
Thus, I wound up writing a small suite of scripts that parse the maplist
data, and check for things like duplicate entries, invalid reviewfile
names, 0 ratings (possible data entry errors although 0 IS a valid
rating -- I did track down a few this way), Orphan files (files either
missing from the DB but present on the FTP, and vice versa (which also
led to me writing a script to connect to the FTP site, and download and
parse the entire five directories for listings of the files contained
there too)), Size errors (incorrectly matching the correct size of the
file on the FTP site), etc
Now, I run one script that updates the maplist data and FTP data on the
remote website, and then downloads that data to my local drive.. then
two more scripts parse the copies here and generate a set of reports
(which are automagically unlinked if there are no errors for that
section) so that I can log into the admin pages there and correct the
database errata.
Quite handy. :)
I have a couple of other projects going right now, but this is long
enough as it is. ;)
--
unmunge e-mail here:
#!perl -w
print map {chr(ord($_)-3)} split //, "zhepdvwhuCzhegudjrq1qhw";
# ( damn spammers. *shakes fist* take a hint. =:P )
------------------------------
Date: Sun, 8 Apr 2001 18:11:49 +1000
From: mgjv@tradingpost.com.au (Martien Verbruggen)
Subject: Re: So what do YOU use Perl for?
Message-Id: <slrn9d07a5.3ud.mgjv@martien.heliotrope.home>
On Sat, 07 Apr 2001 20:43:01 -0400,
Szilvia Oszko <soszko@gmu.edu> wrote:
> One recurring theme in this newsgroup seems to be that Perl!=CGI and
> that while Perl is often used to write CGI scripts, it can also be used
> to do a lot of other things. I'd be curious to see what non-CGI stuff
> you do with Perl.
Maybe you should visit www.cpan.org, and have a look around to see how
many modules are available, and what sort of problem space they normally
fall in. You'll notice that the CGI related area is very small. Even the
Web related area is very small.
I have written CGI programs in Perl. I've also written web client
software in Perl. Neither of those were ever for production use, but
just as smallish tools. I'd say about 1 % of my perl time has been
spent in CGI programming. The other 99% are spread out over networking,
graphics, system administration, text parsing tools, wrapper programs
to link other tools together, quick prototyping programs which later get
implemented in other languages, monitoring tools, statistics and
summarising tools, and others.
If I had some more CGI work to do, maybe I'd use Perl for it, but more
likely, I wouldn't.
Martien
--
Martien Verbruggen |
Interactive Media Division | Begin at the beginning and go on till
Commercial Dynamics Pty. Ltd. | you come to the end; then stop.
NSW, Australia |
------------------------------
Date: Sun, 8 Apr 2001 11:44:35 +0300
From: "Mihalis Tsoukalos" <mtsouk@freemail.gr>
Subject: Re: So what do YOU use Perl for?
Message-Id: <9ap8k3$qr2$1@ulysses.noc.ntua.gr>
I use perl as my main programming language in UNIX.
Usually for System Administration and automation tasks.
I also use it for CGI applications though.
Check CPAN to find out more :-)
cheers,
Mihalis.
Szilvia Oszko <soszko@gmu.edu> wrote in message
news:3ACFB415.63D2CA91@gmu.edu...
> One recurring theme in this newsgroup seems to be that Perl!=CGI and
> that while Perl is often used to write CGI scripts, it can also be used
> to do a lot of other things. I'd be curious to see what non-CGI stuff
> you do with Perl.
------------------------------
Date: 8 Apr 2001 09:32:56 GMT
From: ebohlman@omsdev.com (Eric Bohlman)
Subject: Re: So what do YOU use Perl for?
Message-Id: <9apb88$i5l$2@bob.news.rcn.net>
Szilvia Oszko <soszko@gmu.edu> wrote:
> One recurring theme in this newsgroup seems to be that Perl!=CGI and
> that while Perl is often used to write CGI scripts, it can also be used
> to do a lot of other things. I'd be curious to see what non-CGI stuff
> you do with Perl.
Last week I needed to transfer the patient chart data from a piece of
physical therapy equipment to a newer unit; the manufacturer conveniently
failed to provide a conversion utility from the Paradox database used on
the older version to the Access database on the newer version. I used DBI
and DBD::ODBC to communicate with both databases, and a little LoL to
handle translation of field names and type recoding (for example, the old
database represented dates as strings, while the new database represented
them as timestamps). Most of my time was spent not writing the code, but
discovering bugs in the new software, which provided a nice chart form
full of radio buttons like "sex" and "previous injury" but didn't actually
tie their values into the database (AFAICT, the software was written in
VB).
------------------------------
Date: Sun, 08 Apr 2001 10:58:10 +0100
From: "Ciaran McCreesh" <keesh@users.pleaseremovethisbit.sourceforge.net>
Subject: Re: So what do YOU use Perl for?
Message-Id: <9apclv$rt8$2@newsg4.svr.pol.co.uk>
In article <3ACFB415.63D2CA91@gmu.edu>, "Szilvia Oszko" <soszko@gmu.edu>
wrote:
> One recurring theme in this newsgroup seems to be that Perl!=CGI and
> that while Perl is often used to write CGI scripts, it can also be used
> to do a lot of other things. I'd be curious to see what non-CGI stuff
> you do with Perl.
Mainly CGI. On the other hand, I also use it for database (MySQL)
administration when I need something semi-automated. I also use it for
solving maths problems (also use Lisp for that, depends upon the task) if
I CBA doing them in my head. Oh, and I also use it when egrep isn't
powerful enough...
--
Ciaran McCreesh
mail: keesh@users.sourceforge.net
web: http://www.opensourcepan.com/
------------------------------
Date: 8 Apr 2001 11:52:17 GMT
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: So what do YOU use Perl for?
Message-Id: <9apjdh$avb$1@plutonium.btinternet.com>
Gwyn Judd <tjla@guvfybir.qlaqaf.bet> wrote:
> I was shocked! How could Szilvia Oszko <soszko@gmu.edu>
> say such a terrible thing:
>>One recurring theme in this newsgroup seems to be that Perl!=CGI and
>>that while Perl is often used to write CGI scripts, it can also be used
>>to do a lot of other things. I'd be curious to see what non-CGI stuff
>>you do with Perl.
>
> I use it to impress women.
>
Ah Hah! I use it to charm the birds from the trees.
Oh also a large part of the billing system of the company I work for is
written in Perl.
/J\
--
Jonathan Stowe |
<http://www.gellyfish.com> | This space for rent
|
------------------------------
Date: Sun, 08 Apr 2001 13:23:03 +0100
From: "Ciaran McCreesh" <keesh@users.pleaseremovethisbit.sourceforge.net>
Subject: Re: So what do YOU use Perl for?
Message-Id: <9apl5j$qi1$1@news7.svr.pol.co.uk>
In article <slrn9d02ft.ff7.tjla@thislove.dyndns.org>,
tjla@guvfybir.qlaqaf.bet wrote:
>>One recurring theme in this newsgroup seems to be that Perl!=CGI and
>>that while Perl is often used to write CGI scripts, it can also be used
>>to do a lot of other things. I'd be curious to see what non-CGI stuff
>>you do with Perl.
>
> I use it to impress women.
I take it you don't use s/wife/dishwasher/sexism; then...
Ciaran
--
Ciaran McCreesh
mail: keesh@users.sourceforge.net
web: http://www.opensourcepan.com/
------------------------------
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.
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 652
**************************************