[9540] in Perl-Users-Digest
Perl-Users Digest, Issue: 3134 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Jul 12 20:07:22 1998
Date: Sun, 12 Jul 98 17:01:30 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Sun, 12 Jul 1998 Volume: 8 Number: 3134
Today's topics:
REPOST: Re: I am an "antispam spammer"? (Al Iverson)
REPOST: Re: I am an "antispam spammer"? (Mark-Jason Dominus)
REPOST: Re: I am an "antispam spammer"? (Old Salt)
REPOST: Re: I am an "antispam spammer"? (I R A Aggie)
REPOST: Re: I am an "antispam spammer"? <3srf@qlink.queensu.ca>
Re: REPOST: Re: I am an "antispam spammer"? (Nathan V. Patwardhan)
Re: Running cgi executables in Windows http server (Jonathan Stowe)
Re: sending mail from within perl <ozette@imaginative-creations.com>
Server Error ? <info@shopsmart.com.au>
Re: Server Error ? <quednauf@nortel.co.uk>
Re: Through PERL generating a WWW page. (newbie) <quednauf@nortel.co.uk>
Re: Through PERL generating a WWW page. (newbie) <panagiot@frontiernet.net>
Re: Through PERL generating a WWW page. (newbie) <poohba@io.com>
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Fri, 10 Jul 1998 17:49:53 -0500
From: sporgduffle@radparker.com (Al Iverson)
Subject: REPOST: Re: I am an "antispam spammer"?
Message-Id: <REPOST-5975.81762695312.75198364258.6982421875.sporgduffle-ya023180001007981749530001@news.radparker.com>
wbaseley@mindspring.com (WD Baseley) wrote:
: A generous offer. Could you point me to the RFC that allows you to
: attempt to publicly humiliate anyone who objects to jumping through
: your reply hoops?
Turnabout is fair play. It may not be an RFC, it may not even be mature,
but if someone is a jerk, don't be stupid and assume the person won't be a
jerk in return.
--
Al Iverson -- munged address in use, please go to my web site
at http://al.radparker.com if you want to send me email
Don't send us UCE unless you want us to send it back to you.
========= WAS CANCELLED BY =======:
Path: ...!news.sgi.com!sdd.hp.com!usc!howland.erols.net!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!dallas-news-feed1.bbnplanet.com!news.bbnplanet.com!news.internetoffice.com!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@wtnlmi.net
Newsgroups: news.admin.net-abuse.email,misc.test
Subject: cmsg cancel <sporgduffle-ya023180001007981749530001@news.radparker.com>
Control: cancel <sporgduffle-ya023180001007981749530001@news.radparker.com>
Date: 11 Jul 1998 12:25:02 GMT
Organization: HipCrime International, unLtd.
Lines: 2
Sender: sporgduffle@radparker.com (Al Iverson)
Approved: HipCrime@wtnlmi.net
Message-ID: <cancel.sporgduffle-ya023180001007981749530001@news.radparker.com>
NNTP-Posting-Host: port3.pitt.prodigy.net
X-No-Archive: Yes
Cancelled by HipCrime's NewsAgent.
========= WAS CANCELLED BY =======:
Path: ...!news.sgi.com!howland.erols.net!rill.news.pipex.net!pipex!join.news.pipex.net!pipex!newsfeed.sunet.se!news01.sunet.se!news99.sunet.se!Talisker.taide.net!absolut.taide.net!goliat.c3.hu!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@rcxa.com
Newsgroups: news.admin.net-abuse.email,misc.test
Subject: cmsg cancel <REPOST-9887.6982421875.sporgduffle-ya023180001007981749530001@news.radparker.com>
Control: cancel <REPOST-9887.6982421875.sporgduffle-ya023180001007981749530001@news.radparker.com>
Date: 11 Jul 1998 23:36:50 GMT
Organization: HipCrime International, unLtd.
Lines: 2
Sender: sporgduffle@radparker.com (Al Iverson)
Approved: HipCrime@rcxa.com
Message-ID: <cancel.REPOST-9887.6982421875.sporgduffle-ya023180001007981749530001@news.radparker.com>
NNTP-Posting-Host: port156.pitt.prodigy.net
X-No-Archive: Yes
Cancelled by HipCrime's NewsAgent.
========= WAS CANCELLED BY =======:
Control: cancel <REPOST-8126.75198364258.6982421875.sporgduffle-ya023180001007981749530001@news.radparker.com>
Newsgroups: news.admin.net-abuse.email
Path: ...!news3.bellglobal.com!news1.bellglobal.com!howland.erols.net!news-peer.gip.net!news-penn.gip.net!news.gsl.net!gip.net!news-feed.netvision.net.il!news.NetVision.net.il!elscintcorp.co.il!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@fqguf.org
Subject: cmsg cancel <REPOST-8126.75198364258.6982421875.sporgduffle-ya023180001007981749530001@news.radparker.com>
Approved: HipCrime@fqguf.org
Message-ID: <cancel.REPOST-8126.75198364258.6982421875.sporgduffle-ya023180001007981749530001@news.radparker.com>
X-No-Archive: Yes
Sender: sporgduffle@radparker.com (Al Iverson)
Organization: HipCrime International, unLtd.
Date: Sun, 12 Jul 1998 13:59:51 GMT
Lines: 2
Cancelled by HipCrime's NewsAgent.
------------------------------
Date: 10 Jul 1998 23:09:59 -0400
From: mjd@op.net (Mark-Jason Dominus)
Subject: REPOST: Re: I am an "antispam spammer"?
Message-Id: <REPOST-21585.3412475586.4867553711.3029174805.6o6l27$eeq$1@monet.op.net>
In article <6o6duc$o8e$1@netnews.upenn.edu>,
Daniel E. Macks <dmacks@sas.upenn.edu> wrote:
>An even stronger contingent is "you asked by posting, so I'm gonna
>reply by posting"
Yeah. Why do I answer questions here? Of course, it's because I like
to show off. No point in showing off to one single person by email.
Where's the fun in that?
Also, replying by email reduces the likelihood that some lurker will
learn something, and it reduces the likelihood that some interesting
discussion will develop, and so on. But it *increases* the likelihood
that I'll be wasting my time sending an answer that thirteen people
already sent.
The long and short of it is that there's a community here, and
replying by email to private queries doesn't benefit the community; it
only benefits the person who asked the question.
========= WAS CANCELLED BY =======:
Path: ...!news.sgi.com!howland.erols.net!cpk-news-hub1.bbnplanet.com!dallas-news-feed1.bbnplanet.com!news.bbnplanet.com!news.internetoffice.com!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@kmkefcpctja.net
Newsgroups: news.admin.net-abuse.email,misc.test
Subject: cmsg cancel <6o6l27$eeq$1@monet.op.net>
Control: cancel <6o6l27$eeq$1@monet.op.net>
Date: 11 Jul 1998 12:21:06 GMT
Organization: HipCrime International, unLtd.
Lines: 2
Sender: mjd@op.net (Mark-Jason Dominus)
Approved: HipCrime@kmkefcpctja.net
Message-ID: <cancel.6o6l27$eeq$1@monet.op.net>
NNTP-Posting-Host: port3.pitt.prodigy.net
X-No-Archive: Yes
Cancelled by HipCrime's NewsAgent.
========= WAS CANCELLED BY =======:
Path: ...!news.sgi.com!howland.erols.net!rill.news.pipex.net!pipex!join.news.pipex.net!pipex!newsfeed.sunet.se!news01.sunet.se!news99.sunet.se!Talisker.taide.net!absolut.taide.net!goliat.c3.hu!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@ohxipe.gov
Newsgroups: news.admin.net-abuse.email,misc.test
Subject: cmsg cancel <REPOST-22841.3029174805.6o6l27$eeq$1@monet.op.net>
Control: cancel <REPOST-22841.3029174805.6o6l27$eeq$1@monet.op.net>
Date: 11 Jul 1998 23:36:09 GMT
Organization: HipCrime International, unLtd.
Lines: 2
Sender: mjd@op.net (Mark-Jason Dominus)
Approved: HipCrime@ohxipe.gov
Message-ID: <cancel.REPOST-22841.3029174805.6o6l27$eeq$1@monet.op.net>
NNTP-Posting-Host: port156.pitt.prodigy.net
X-No-Archive: Yes
Cancelled by HipCrime's NewsAgent.
========= WAS CANCELLED BY =======:
Control: cancel <REPOST-16817.4867553711.3029174805.6o6l27$eeq$1@monet.op.net>
Newsgroups: news.admin.net-abuse.email
Path: ...!news3.bellglobal.com!news1.bellglobal.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news-peer.gip.net!news-penn.gip.net!news.gsl.net!gip.net!news-feed.netvision.net.il!news.NetVision.net.il!elscintcorp.co.il!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@nlfjikj.net
Subject: cmsg cancel <REPOST-16817.4867553711.3029174805.6o6l27$eeq$1@monet.op.net>
Approved: HipCrime@nlfjikj.net
Message-ID: <cancel.REPOST-16817.4867553711.3029174805.6o6l27$eeq$1@monet.op.net>
X-No-Archive: Yes
Sender: mjd@op.net (Mark-Jason Dominus)
Organization: HipCrime International, unLtd.
Date: Sun, 12 Jul 1998 14:02:36 GMT
Lines: 2
Cancelled by HipCrime's NewsAgent.
------------------------------
Date: Sat, 11 Jul 1998 07:39:41 GMT
From: old.salt@mindspring.com (Old Salt)
Subject: REPOST: Re: I am an "antispam spammer"?
Message-Id: <REPOST-10006.6946105957.8967590332.7829284668.35a815ed.14770087@news.mindspring.com>
On Sat, 11 Jul 1998 04:20:53 GMT, sowmaster@juicepigs.com (Bob
Trieger) decided to post words that all would read on, "Re: I am an
"antispam spammer"?", lets see if they are worth reading. unless it
is by Steve Boursy:
>BTW, I missed something here, what is his appropriate way of handling SPAM?
Send a copy of the spam with full headers to
Postmaster/root/abuse at the ISP it came from. If you don't know how
to read e-mail headers go here:
The lessons are:
Spam-tracking 101 (for newbies)
Spam-tracking 102 (the many uses of DejaNews)
Spam-tracking 103 (the many uses of whois)
Spam-tracking 104 (a case study: spammer unmasked)
These are available at:
http://doofus.ml.org/spam/lessons/
Or get a copy of SamSpade from here:
http://www.blighty.com/spam/ or one of the other spamfighting tools
there.
--
If you are anti- SPAM, point your browser to URL: http://spam.abuse.net
Support the anti-Spam amendment Join at http://www.cauce.org/
Write your Representatives, Murkowski/HR3888=NO , Smith/HR1748=YES
Notice. Spelling mistakes left in for people who need to correct
others to make their life fulfilled.
@dartmouth.edu is now block due to Archimedes Plutonium
My Mail Server is Protected by SPAMKILLER
========= WAS CANCELLED BY =======:
Path: ...!news.sgi.com!howland.erols.net!cpk-news-hub1.bbnplanet.com!dallas-news-feed1.bbnplanet.com!news.bbnplanet.com!news.internetoffice.com!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@lmnkwmmi.edu
Newsgroups: news.admin.net-abuse.email,misc.test
Subject: cmsg cancel <35a815ed.14770087@news.mindspring.com>
Control: cancel <35a815ed.14770087@news.mindspring.com>
Date: 11 Jul 1998 12:19:20 GMT
Organization: HipCrime International, unLtd.
Lines: 2
Sender: old.salt@mindspring.com (Old Salt)
Approved: HipCrime@lmnkwmmi.edu
Message-ID: <cancel.35a815ed.14770087@news.mindspring.com>
NNTP-Posting-Host: port3.pitt.prodigy.net
X-No-Archive: Yes
Cancelled by HipCrime's NewsAgent.
========= WAS CANCELLED BY =======:
Path: ...!news.sgi.com!howland.erols.net!news-peer-europe.sprintlink.net!news.sprintlink.net!newsfeed1.swip.net!swipnet!rill.news.pipex.net!pipex!join.news.pipex.net!pipex!newsfeed.sunet.se!news01.sunet.se!news99.sunet.se!Talisker.taide.net!absolut.taide.net!goliat.c3.hu!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@cvaw.org
Newsgroups: news.admin.net-abuse.email,misc.test
Subject: cmsg cancel <REPOST-7112.7829284668.35a815ed.14770087@news.mindspring.com>
Control: cancel <REPOST-7112.7829284668.35a815ed.14770087@news.mindspring.com>
Date: 11 Jul 1998 23:34:35 GMT
Organization: HipCrime International, unLtd.
Lines: 2
Sender: old.salt@mindspring.com (Old Salt)
Approved: HipCrime@cvaw.org
Message-ID: <cancel.REPOST-7112.7829284668.35a815ed.14770087@news.mindspring.com>
NNTP-Posting-Host: port156.pitt.prodigy.net
X-No-Archive: Yes
Cancelled by HipCrime's NewsAgent.
========= WAS CANCELLED BY =======:
Control: cancel <REPOST-3382.8967590332.7829284668.35a815ed.14770087@news.mindspring.com>
Newsgroups: news.admin.net-abuse.email
Path: ...!news3.bellglobal.com!news1.bellglobal.com!howland.erols.net!news-peer.gip.net!news-penn.gip.net!news.gsl.net!gip.net!news-feed.netvision.net.il!news.NetVision.net.il!elscintcorp.co.il!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@gualmkge.net
Subject: cmsg cancel <REPOST-3382.8967590332.7829284668.35a815ed.14770087@news.mindspring.com>
Approved: HipCrime@gualmkge.net
Message-ID: <cancel.REPOST-3382.8967590332.7829284668.35a815ed.14770087@news.mindspring.com>
X-No-Archive: Yes
Sender: old.salt@mindspring.com (Old Salt)
Organization: HipCrime International, unLtd.
Date: Sun, 12 Jul 1998 14:01:38 GMT
Lines: 2
Cancelled by HipCrime's NewsAgent.
------------------------------
Date: Fri, 10 Jul 1998 22:28:34 -0500
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: REPOST: Re: I am an "antispam spammer"?
Message-Id: <REPOST-6802.79238891602.77133178711.401184082.fl_aggie-1007982228340001@aggie.coaps.fsu.edu>
In article <sporgduffle-ya023180001007981749530001@news.radparker.com>,
sporgduffle@radparker.com (Al Iverson) wrote:
+ wbaseley@mindspring.com (WD Baseley) wrote:
+
+ : A generous offer. Could you point me to the RFC that allows you to
+ : attempt to publicly humiliate anyone who objects to jumping through
+ : your reply hoops?
+
+ Turnabout is fair play. It may not be an RFC, it may not even be mature,
+ but if someone is a jerk, don't be stupid and assume the person won't be a
+ jerk in return.
Beggars can't be choosers. And there's nothing in the RFC's that say you
need to reply to anything that comes your way.
I believe Wildman's warning message is:
+ Do NOT reply to this post! All mail sent to the From/Reply-To will be
+ considered spam, and handled appropriately.
I'd call that a broken reply mechanism - "handled appropriately" may well
tend to mean "redirected straight into /dev/null" and "replying here is a
waste of your time, so don't bother". That's only marginally less rude
than someone who munges their address...
Thank G*d that Tom C didn't reply...
James
========= WAS CANCELLED BY =======:
Path: ...!news.sgi.com!howland.erols.net!cpk-news-hub1.bbnplanet.com!dallas-news-feed1.bbnplanet.com!news.bbnplanet.com!news.internetoffice.com!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@vjkbeaqd.com
Newsgroups: news.admin.net-abuse.email,misc.test
Subject: cmsg cancel <fl_aggie-1007982228340001@aggie.coaps.fsu.edu>
Control: cancel <fl_aggie-1007982228340001@aggie.coaps.fsu.edu>
Date: 11 Jul 1998 12:18:26 GMT
Organization: HipCrime International, unLtd.
Lines: 2
Sender: fl_aggie@thepentagon.com (I R A Aggie)
Approved: HipCrime@vjkbeaqd.com
Message-ID: <cancel.fl_aggie-1007982228340001@aggie.coaps.fsu.edu>
NNTP-Posting-Host: port3.pitt.prodigy.net
X-No-Archive: Yes
Cancelled by HipCrime's NewsAgent.
========= WAS CANCELLED BY =======:
Path: ...!news.sgi.com!howland.erols.net!newshub.northeast.verio.net!newsfeed1.swip.net!swipnet!rill.news.pipex.net!pipex!join.news.pipex.net!pipex!newsfeed.sunet.se!news01.sunet.se!news99.sunet.se!Talisker.taide.net!absolut.taide.net!goliat.c3.hu!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@hxom.com
Newsgroups: news.admin.net-abuse.email,misc.test
Subject: cmsg cancel <REPOST-19621.401184082.fl_aggie-1007982228340001@aggie.coaps.fsu.edu>
Control: cancel <REPOST-19621.401184082.fl_aggie-1007982228340001@aggie.coaps.fsu.edu>
Date: 11 Jul 1998 23:33:29 GMT
Organization: HipCrime International, unLtd.
Lines: 2
Sender: fl_aggie@thepentagon.com (I R A Aggie)
Approved: HipCrime@hxom.com
Message-ID: <cancel.REPOST-19621.401184082.fl_aggie-1007982228340001@aggie.coaps.fsu.edu>
NNTP-Posting-Host: port156.pitt.prodigy.net
X-No-Archive: Yes
Cancelled by HipCrime's NewsAgent.
========= WAS CANCELLED BY =======:
Control: cancel <REPOST-7492.77133178711.401184082.fl_aggie-1007982228340001@aggie.coaps.fsu.edu>
Newsgroups: news.admin.net-abuse.email
Path: ...!news3.bellglobal.com!news1.bellglobal.com!howland.erols.net!news-peer.gip.net!news-penn.gip.net!news.gsl.net!gip.net!news-feed.netvision.net.il!news.NetVision.net.il!elscintcorp.co.il!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@epayfoqj.net
Subject: cmsg cancel <REPOST-7492.77133178711.401184082.fl_aggie-1007982228340001@aggie.coaps.fsu.edu>
Approved: HipCrime@epayfoqj.net
Message-ID: <cancel.REPOST-7492.77133178711.401184082.fl_aggie-1007982228340001@aggie.coaps.fsu.edu>
X-No-Archive: Yes
Sender: fl_aggie@thepentagon.com (I R A Aggie)
Organization: HipCrime International, unLtd.
Date: Sun, 12 Jul 1998 13:59:25 GMT
Lines: 2
Cancelled by HipCrime's NewsAgent.
------------------------------
Date: 11 Jul 1998 15:09:34 GMT
From: Frampton Steve R <3srf@qlink.queensu.ca>
Subject: REPOST: Re: I am an "antispam spammer"?
Message-Id: <REPOST-28287.13671875.75561523438.6o7v7e$ovu$1@knot.queensu.ca>
In news.admin.net-abuse.email Bob Trieger <sowmaster@juicepigs.com> wrote:
: I think it is even ruder than the morons with munged addresses. They are so
: stupid they don't have a clue that they are being rude.
Excuse me, but this just pisses me off. Just who the fuck are *you* to
dictate what a person may do with their private resources? If somebody
mungs their address, and you don't like it, then *DON'T SEND THEM ANY
FUCKING E-MAIL*. Answering a question for somebody is supposed to be an
act of altruism. If you're so altruistic, then I'm sure taking the extra
30 seconds to de-mung isn't such a big deal. If not, then why are you
bothering to respond? (Perhaps it is to inflate your ego by
demonstrating your indepth knowledge of the topic being discussed)
Munging is an effective way of thwarting spam. Trust me, I know because I
use to be spammed from hell to highwater -- but after munging for about a
year or so, my spam count dropped to only 1 or 2 a day. I'm an end-user
at a captive ISP -- a University -- they don't support filtering, they
don't support procmail, etc. (No, I'm not allowed to install filtering
software nor procmail. In addition, I have a 2 MB disk quota so the point
is moot, anyway. No, I will not install end-client software. I read my
e-mail on the server with Pine by *choice*). In this case, munging was a
quick-and-easy solution for me.
P.S. I no longer mung -- as a result, my spam count is *way* up. Was it
because of morons like you flaming me for it? Nope! The reason I no
longer mung is because I decided I wanted to get righteous and LART every
spam that comes my way. But I *used* to mung, and completely understand
the point of view, and support the rights of those who choose to do so.
It makes things a bit more inconvenient for me, but I take comfort in
knowing that it makes things a bit more inconvenient for spammers as well.
Follow-ups set. This has *NOTHING* to do with Perl.
--------------< LINUX: The choice of a GNU generation. >--------------
Steve Frampton <3srf@qlink.queensu.ca> http://qlink.queensu.ca/~3srf
========= WAS CANCELLED BY =======:
Path: ...!newshub.northeast.verio.net!cpk-news-hub1.bbnplanet.com!dallas-news-feed1.bbnplanet.com!news.bbnplanet.com!news.internetoffice.com!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@wajbyjrce.net
Newsgroups: news.admin.net-abuse.email,misc.test
Subject: cmsg cancel <6o7v7e$ovu$1@knot.queensu.ca>
Control: cancel <6o7v7e$ovu$1@knot.queensu.ca>
Date: 11 Jul 1998 23:19:12 GMT
Organization: HipCrime International, unLtd.
Lines: 2
Sender: Frampton Steve R <3srf@qlink.queensu.ca>
Approved: HipCrime@wajbyjrce.net
Message-ID: <cancel.6o7v7e$ovu$1@knot.queensu.ca>
NNTP-Posting-Host: port156.pitt.prodigy.net
X-No-Archive: Yes
Cancelled by HipCrime's NewsAgent.
========= WAS CANCELLED BY =======:
Control: cancel <REPOST-8007.75561523438.6o7v7e$ovu$1@knot.queensu.ca>
Newsgroups: news.admin.net-abuse.email
Path: ...!news3.bellglobal.com!news1.bellglobal.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news-peer.gip.net!news-penn.gip.net!news.gsl.net!gip.net!news-feed.netvision.net.il!news.NetVision.net.il!elscintcorp.co.il!nntp.HipCrime.new!cyberspam!hipcancel!usenet
From: HipCrime@uqjhrydblme.net
Subject: cmsg cancel <REPOST-8007.75561523438.6o7v7e$ovu$1@knot.queensu.ca>
Approved: HipCrime@uqjhrydblme.net
Message-ID: <cancel.REPOST-8007.75561523438.6o7v7e$ovu$1@knot.queensu.ca>
X-No-Archive: Yes
Sender: Frampton Steve R <3srf@qlink.queensu.ca>
Organization: HipCrime International, unLtd.
Date: Sun, 12 Jul 1998 14:31:37 GMT
Lines: 2
Cancelled by HipCrime's NewsAgent.
------------------------------
Date: 12 Jul 1998 14:14:29 GMT
From: nvp@shore.net (Nathan V. Patwardhan)
Subject: Re: REPOST: Re: I am an "antispam spammer"?
Message-Id: <6oagc5$sg3@fridge.shore.net>
Bob Trieger (sowmaster@juicepigs.com) wrote:
: BTW, I missed something here, what is his appropriate way of handling SPAM?
Don't use usenet or the internet. :-)
--
Nate Patwardhan|root@localhost
"Fortunately, I prefer to believe that we're all really just trapped in a
P.K. Dick book laced with Lovecraft, and this awful Terror Out of Cambridge
shall by the light of day evaporate, leaving nothing but good intentions in
its stead." Tom Christiansen in <6k02ha$hq6$3@csnews.cs.colorado.edu>
------------------------------
Date: Sun, 12 Jul 1998 22:58:59 GMT
From: Gellyfish@btinternet.com (Jonathan Stowe)
Subject: Re: Running cgi executables in Windows http server
Message-Id: <35a93c1e.27667425@news.btinternet.com>
On 8 Jul 1998 12:25:47 GMT, scott@softbase.com wrote :
>Harinder Pal Singh Takhar (htakhar@hotmail.com) wrote:
>> ... seems to keep waiting till forever.
>> The web server i am using is frontpage web server.
>
>This is normal, and here's what's happening:
>
>You're likely using the perl.exe command line version of Perl, which
>doesn't work. You need the ISAPI DLL version of Perl. You should be
>able to get it where you got the original Perl interpreter.
>
>Once you install the ISAPI version, you should have no more problems
>like this. You'll probably have *other* problems, but you
>should be able to run basic Perl CGI programs.
>
Steady on boy ;-}
A) He was talking about a C program
B) ISAPI perl doesnt work with FrontPage web server (AKA Personal Web
Server ) as far as i know.
C) perl.exe will work with any server that can run a script with a
named interpreter (or respects the shebang line.)
D) Perl on Win32 will do most things that Perl on unix can do (once
you have factored out the limitations/design of the Win32 platform
itself )
/J\
Jonathan Stowe
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
------------------------------
Date: Sun, 12 Jul 1998 18:27:36 -0400
From: "Mr. Ozette Brown" <ozette@imaginative-creations.com>
To: Jim Babbington <jwb79@mail.idt.net>
Subject: Re: sending mail from within perl
Message-Id: <35A93858.7A4C0BCF@imaginative-creations.com>
Hello,
I've used Net::Smtp under Win95 and it works just fine.
Good luck,
Ozette
Jim Babbington wrote:
> try Net::smtp. I use it under NT, never tried it under 95.
>
> Good luck,
>
> Jim
--
Mr. Ozette J. Brown <President>
Imaginative Creations <webmaster@imaginative-creations.com>
A Website Development and Consulting Company.
http://www.imaginative-creations.com
------------------------------
Date: Sun, 12 Jul 1998 18:24:56 +1000
From: "Sean" <info@shopsmart.com.au>
Subject: Server Error ?
Message-Id: <6o9sc6$obu$1@toto.tig.com.au>
Hello,
I am new to perl and i am trying to get a perl script working on a unix
server but i keep getting this error.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator,and inform them of the time the
error occurred, and anything you might have done that may have caused the
error.
I have included a copy of the script below, if someone could give me a clue
as to what i am doing wrong that would be much apreciated.
Thank you in advance for your answer
Sean
#!/usr/tools/bin/perl -*-perl-*-
# Print this out no matter what
print "Content-type: text/html\n\n";
# flush stdout buffer
$| = 1;
if ($ENV{'REQUEST_METHOD'} eq 'POST')
{
# How many bytes are we supposed to receive?
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
@pairs = split(/&/, $buffer);
foreach $pair (@pairs)
{
($name, $value) = split(/=/, $pair);
$value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$contents{$name} = $value;
}
}
chop($date = `date`);
###############################################
# CGI Output: As HTML and as an email message
###############################################
# Create an HTML document on the fly. Yee-haw!
print <<"HTML";
<HTML>
<HEAD><TITLE>A.S.S. Travel Form Entries</TITLE></HEAD>
<BODY>
<H1>Travel Request from $contents{'name'}</H1>
<P><HR><P>
<I>$date</I>
<UL>
<LI> Name = $contents{'name'}
<LI> Email = $contents{'email'}
<LI> Departure date = $contents{'ddate'}
<LI> Departure time range = $contents{'dtime'}
<LI> Return date = $contents{'rdate'}
<LI> Return time range = $contents{'rtime'}
HTML
# check the airline section of the form data
if($contents{'airline-ind'} eq 'indiffernt') { ; }
else {
print "<LI> Airline (first choice) = $contents{'airline1'}\n";
if($contents{'airline2'} ne '') {
print "<LI> Airline (second choice) = $contents{'airline2'}\n";
}
}
print <<"HTML";
<LI> Destination City = $contents{'city'}
<LI> Destination State = $contents{'state'}
<LI> Smoking preference = $contents{'smoking'}
<LI> Reason for trip = $contents{'reasons'}
HTML
if($contents{'reasons'} ne '') {
print "<LI> Reasons = $contents{'reasons'}\n";
}
print <<"HTML";
</UL>
</BODY></HTML>
HTML
# Now create an email message and mail it.
$subject = "Travel Plans for " . $contents{'name'};
$sendto = "info@shopsmart.com.au";
# open a named UNIX pipe to send the mail
open (MAIL, "| /usr/sbin/sendmail $sendto") || die "Can't send mail: $!\n";
# This selects the open pipe handle.
select(MAIL);
print <<"EMAIL";
Date: $date
From: $contents{'email'}
To: $sendto
Subject: $subject
Name = $contents{'name'}
Email = $contents{'email'}
Bill-to = $contents{'billto'}
Departure date = $contents{'ddate'}
Departure time range = $contents{'dtime'}
Return date = $contents{'rdate'}
Return time range = $contents{'rtime'}
EMAIL
if($contents{'airline-ind'} eq 'indiffernt') { ; }
else {
print "Airline (first choice) = $contents{'airline1'}\n";
if($contents{'airline2'} ne '') {
print "Airline (second choice) = $contents{'airline2'}\n";
}
}
print <<"EMAIL";
Destination City = $contents{'city'}
Destination State = $contents{'state'}
Smoking preference = $contents{'smoking'}
Reason for trip = $contents{'reasons'}
EMAIL
if($contents{'reasons'} ne '') {
print "Reasons = $contents{'special'}\n";
}
close(MAIL);
exit;
------------------------------
Date: Sun, 12 Jul 1998 11:58:57 +0100
From: "F.Quednau" <quednauf@nortel.co.uk>
Subject: Re: Server Error ?
Message-Id: <35A896F1.17AA68BB@nortel.co.uk>
Sean wrote:
>
> Hello,
>
> I am new to perl and i am trying to get a perl script working on a unix
> server but i keep getting this error.
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
> Please contact the server administrator,and inform them of the time the
> error occurred, and anything you might have done that may have caused the
> error.
This is something the server says when e.g. the Perl script doesn't compile. You're
probably having Apache, so check the error log of the Server. Or, if not existant, just
let the script run on the command line for once, and see what comes up...
all sorts of thing can go wrong. A good candidate could be sendmail...
PS Just a note...
if($contents{'airline-ind'} eq 'indiffernt') { ; }
else {...}
This is a weird contruct. If you don't do anything for that condition, why do you cater
for it ?
unless ($contents{'airline-ind'} eq 'indiffernt') {
#do your else stuff
}
PPS
is it supposed to be 'indiffernt' ?
--
____________________________________________________________
Frank Quednau
http://www.surrey.ac.uk/~me51fq
________________________________________________
------------------------------
Date: Sun, 12 Jul 1998 15:06:16 +0100
From: "F.Quednau" <quednauf@nortel.co.uk>
Subject: Re: Through PERL generating a WWW page. (newbie)
Message-Id: <35A8C2D8.2885FB66@nortel.co.uk>
Evan Panagiotopoulos wrote:
> Hello,
> I have a couple of PERL books that explain everything except how to
> use perl in an interactive environment. Can you help with a very
> simple example? Maybe you can point me to a web page where this type
> of information is shown.
>
What do you mean by interactive? I gather from your signature (please
provide a text based one, it's soo much easier on the eye :) that you're
a computer teacher. You can request input from a user through the
<STDIN> stream.
print 'Please gimme your name..';
$name = <STDIN>;
print "Your name is $name";
This would classify as an interactive program. A way to make mnuch nicer
interactive programs is through CGI and the web. Here your best friend
is the CGI.pm module that provides a lot of help in CGI programming. A
basic approach would be to provide the user with a form and then send
the contents of the form back. As a very generalised rule the data taken
from a webpage is as follows : ....
cgi-bin/myscript.pl?key1=value1&key2=value2 etc.
while key is the name of the form element, and value its value that a
user has selected. Then with CGI.pm you simply you create something like
that:
use CGI;
#CGI.pm stuff: make the right header
print header;
#Correct head and body tags, with properties spec, CGI.pm
print start_html(-title=>'My interactive page', -BGCOLOR=>'white');
#Start a form. CGI.pm stuff
print startform;
print textfield(-NAME =>'namefield');
print submit('action','Send the data');
&give_interactive_output if param('action') eq 'Send the data';
print endform;
print end_html;
sub give_interactive_output {
print p("the name you specified is:",param('namefield'));
}
There, an interactive program with a web based interface!
Of course you can e.g. link an image with a hard link to your script, in
that way you can make it all look nice:
<a href="/cgi-bin/myscript.pl?printstuff=yes><img...></a>
And then in your script:
use CGI.pm
$how_to_proceed = param('printstuff') eq 'yes' ? 'yes' : 'no';
And, by looking at the %ENV hash of a CGI script, you could build some
very funky interactive notions, if, say, your pupils (assuming they're
young :) always sit at the same computer:
If lil' Frankie always sits on the box with IP address 47.48.49.50 then
you could do this in your script:
$name_hash{'47.48.49.50'} = "little Frankie";
$check = (localtime(time))[2];
$lookup = $ENV{'REMOTE_ADDR'};
$time = $check < 12 ? 'morning' : 'afternoon';
print "Hello $name_hash{$lookup}, how are you this $time?";
You see, there are many ways to use Perl interactively, take your pick
and enjoy!
PS
most of the code here is unchecked, so don't bombard me with 'this
doesn't work', it could work, but most of the time it's probably
'close'!
--
____________________________________________________________
Frank Quednau
http://www.surrey.ac.uk/~me51fq
________________________________________________
------------------------------
Date: 12 Jul 1998 22:23:39 GMT
From: Evan Panagiotopoulos <panagiot@frontiernet.net>
Subject: Re: Through PERL generating a WWW page. (newbie)
Message-Id: <35A93521.B545C78@frontiernet.net>
This is a multi-part message in MIME format.
--------------2726EBED1D86972665136284
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Frank,
Good show, that's exactly what I was looking for, an example. I also
bookmarked your personal page for the PERL stuff.
Thanks,
F.Quednau wrote:
> Evan Panagiotopoulos wrote:
>
> > Hello,
> > I have a couple of PERL books that explain everything except how to
> > use perl in an interactive environment. Can you help with a very
> > simple example? Maybe you can point me to a web page where this type
>
<MAJOR snip>
> ____________________________________________________________
> Frank Quednau
> http://www.surrey.ac.uk/~me51fq
> ________________________________________________
--------------2726EBED1D86972665136284
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Evan Panagiotopoulos
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Evan Panagiotopoulos
n: Panagiotopoulos;Evan
org: Valley Cental High School
email;internet: panagiot@frontiernet.net
title: Computer teacher
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
version: 2.1
end: vcard
--------------2726EBED1D86972665136284--
------------------------------
Date: Sun, 12 Jul 1998 18:11:18 -0500
From: Chocolate <poohba@io.com>
To: Evan Panagiotopoulos <panagiot@frontiernet.net>
Subject: Re: Through PERL generating a WWW page. (newbie)
Message-Id: <Pine.BSF.3.96.980712153956.18800A-100000@dillinger.io.com>
If I am not mistaken you just set your variables that will change and
place them in your html code but it must start off like this:
#/usr/local/bin/perl
$var = "whatever";
print "Content-Type: text/html\n\n";
print<<HTML;
<html>
<head>
<title></title>
</head>
<body>
...
</body>
</html>
HTML
Just place your varialbes where you want them.
On 11 Jul 1998, Evan Panagiotopoulos wrote:
> Hello,
> I have a couple of PERL books that explain everything except how to
> use perl in an interactive environment. Can you help with a very
> simple example? Maybe you can point me to a web page where this type
> of information is shown.
>
> Thanks,
> Evan P...
>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/ _/ _/
_/ _/ _/ _/
Web Page Designs _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/
Small Programs _/ _/ / _/ _/ _/ _/ _/ _/ _/ _/ poohba@io.com
www.io.com/~poohba _/ _/_/_/ _/_/_/ _/ _/ _/_/_/ _/_/\_ (919)506-5883
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
------------------------------
Date: 8 Mar 97 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 8 Mar 97)
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.misc (and this Digest), send your
article to perl-users@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.
The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.
The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.
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 V8 Issue 3134
**************************************