[8283] in Perl-Users-Digest
Perl-Users Digest, Issue: 1900 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat Feb 14 19:39:31 1998
Date: Sat, 14 Feb 98 16:00:22 -0800
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Sat, 14 Feb 1998 Volume: 8 Number: 1900
Today's topics:
Re: A Pubilc Apology. (John Moreno)
Re: auto responder script <rra@stanford.edu>
Building Perl5.004_04 on BSDI 3.1 (Lance A. Brown)
Re: convert Perl for UNIX to NT 4.0 <ekgermann@cctec.com>
Global vars vs. access methods: WAS foreach and my() [G Chris_Schoenfeld@sonic.net
How delete mult. form_data varibles in hash <charlesb@ccmail.orst.edu>
Re: How delete mult. form_data varibles in hash (Jonathan Feinberg)
Re: how to emulate http server <peter.edlund@capgemini.se>
Re: How to substitue Control characters . <rra@stanford.edu>
Re: How to: "ENTER = submit form" ? (Jonathan Feinberg)
Re: Location: returns empty document? <webmaster@fccj.cc.fl.us>
Re: on reading FAQs and gurus answering questions (I R A Aggie)
Re: on reading FAQs and gurus answering questions (I R A Aggie)
Perl training UK <nospam@no.spam>
Re: Perl use on IIS 4 <tthomas@netacc.net>
Re: POST without a form? <webmaster@fccj.cc.fl.us>
Re: Sample, simple script which uses threads ? (Lars Marowsky-Bree)
Re: The Young Man and the Beach (I R A Aggie)
Re: Tom Christiansen (Jonathan Feinberg)
Re: Tom Christiansen (Lance A. Brown)
Re: VB5: Win95 sound volume control (Jonathan Feinberg)
Re: Why is Tom Christiansen so rude? <zenin@best.com>
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sat, 14 Feb 1998 18:07:55 -0500
From: phenix@interpath.com (John Moreno)
Subject: Re: A Pubilc Apology.
Message-Id: <1d4g93v.vi9nip17qpx6dN@roxboro0-045.dyn.interpath.net>
Joseph N. Hall <joseph@5sigma.com> wrote:
> Generally speaking, a posting that says "please respond via email"
> and has a mangled reply-to address is flame bait. I don't think
> you'll find much disagreement there.
>
> Mangled addresses have changed my former habit of sending email
> copies of postings. I no longer do it, even if the address
> looks good offhand.
This is the first example of a good reason to mangle the from address -
sending a email copy should only be done when either the previous poster
has requested it or when the poster has reason to believe that THIS post
is urgent enough to require a mail copy. Doing it by default is just
plain wrong, not to mention rude.
--
John Moreno
------------------------------
Date: 14 Feb 1998 11:55:22 -0800
From: Russ Allbery <rra@stanford.edu>
To: spunge@ripco.com (Benji Spencer)
Subject: Re: auto responder script
Message-Id: <m3d8gqt105.fsf@windlord.Stanford.EDU>
[ Posted and mailed. ]
Benji Spencer <spunge@ripco.com> writes:
> ok, then do you have any other suggestions besides procmail then? Or
> other ways of using procmail to do this? I don't mean for you to do the
> homework for me, just wondering as I am planning on working on this
> today
Well, at some point someone should really sit down and try to write a
generic autoresponder that takes all of this into account....
My personal inclination would be to write a Perl script that does
something fairly similar to this one that I wrote a while back:
--------------------------------------------------------------------------
#!/usr/bin/perl
$version = q$Id: sender,v 0.2 1998/01/19 06:53:13 eagle Exp $;
#
# sender -- Reply to incoming mail with the envelope sender of the message.
# Copyright 1998 by Russ Allbery <rra@stanford.edu>
#
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
# Note that this program assumes qmail as the MTA that it's running under.
# For sendmail, one would have to get the sender from the From_ line.
# The envelope sender to use for the return mail.
my $sender = 'nobody@example.com';
# The From line to use for the return.
my $from = 'Friendly Envelope Sender Checker <owner-sender@example.com>';
# Error handling.
sub bounce { warn @_, "\n"; exit 100 }
sub tempfail { warn @_, "\n"; exit 111 }
# Grab the envelope sender, then find a reply-to address.
my $envelope = $ENV{SENDER};
my $replyto;
while (<STDIN>) {
last if /^$/;
if (/^From:\s*(.*)/i && !$replyto) { $replyto = $1 }
elsif (/^Reply-To:\s*(.*)/i) { $replyto = $1 }
}
unless ($replyto) { bounce 'No From or Reply-To header. (#5.6.0)' }
# Send the autoresponse.
open (MAIL, '| /var/qmail/bin/qmail-inject')
or tempfail 'Unable to fork. (#4.3.0)';
print MAIL <<"EOM";
Return-Path: $sender
To: $replyto
From: $from
Subject: Your envelope sender
The envelope sender on the mail that I just received from you was:
$envelope
Hope this helps!
EOM
close MAIL;
exit $?;
--------------------------------------------------------------------------
Note that this is written for qmail, so the exit statuses, the program
used to send mail, and so forth would have to be modified for sendmail.
That shows how to get the right Reply-To address, though.
Note that the envelope sender is set to an account that just swallows
mail, and the mail is noted as being from an actual user.
>From that as a starting point, it isn't too hard to add a cache of what
addresses you've already sent mail to, or add an exclusion list of
addresses to not respond to.
--
#!/usr/bin/perl -- Russ Allbery, Just Another Perl Hacker
$^=q;@!>~|{>krw>yn{u<$$<[~||<Juukn{=,<S~|}<Jwx}qn{<Yn{u<Qjltn{ > 0gFzD gD,
00Fz, 0,,( 0hF 0g)F/=, 0> "L$/GEIFewe{,$/ 0C$~> "@=,m,|,(e 0.), 01,pnn,y{
rw} >;,$0=q,$,,($_=$^)=~y,$/ C-~><@=\n\r,-~$:-u/ #y,d,s,(\$.),$1,gee,print
------------------------------
Date: 14 Feb 1998 17:29:24 -0500
From: brown9@niehs.nih.gov (Lance A. Brown)
Subject: Building Perl5.004_04 on BSDI 3.1
Message-Id: <yd11zx595x7.fsf@splat.niehs.nih.gov>
Greetings,
I'm having no end of problem trying to build perl 5.004_04 on a BSDI
3.1 machine.
Using 'Configure -des' I get the following when I try to make:
bash$ sudo make
SUDO Password:
`sh cflags libperl.so miniperlmain.o` -fPIC miniperlmain.c
CCCMD = cc -DPERL_CORE -c -fpcc-struct-return -I/usr/local/include -O2
cc1: Invalid option `-fPIC'
*** Error code 1
Stop.
bash$ exit
Using 'Configure -des -Dcc=gcc' and then make I get:
bash$ sudo make
SUDO Password:
`sh cflags libperl.so miniperlmain.o` -fpic miniperlmain.c
CCCMD = gcc -DPERL_CORE -c -I/usr/local/include -O2
miniperlmain.c:15:invalid character '[' in first operand
miniperlmain.c:16:invalid character '@' in first operand
miniperlmain.c:18:invalid character '@' in first operand
miniperlmain.c:19:invalid character '@' in first operand
miniperlmain.c:23:invalid character '@' in first operand
miniperlmain.c:24:invalid character '@' in second operand
miniperlmain.c:28:invalid character '@' in first operand
miniperlmain.c:32:invalid character '@' in first operand
miniperlmain.c:33:invalid character '@' in first operand
miniperlmain.c:40:invalid character '@' in first operand
miniperlmain.c:42:invalid character '@' in first operand
miniperlmain.c:43:invalid character '@' in first operand
miniperlmain.c:48:invalid character '@' in first operand
miniperlmain.c:49:invalid character '@' in first operand
miniperlmain.c:53:invalid character '@' in first operand
miniperlmain.c:54:invalid character '@' in first operand
miniperlmain.c:55:invalid character '@' in first operand
miniperlmain.c:56:invalid character '@' in first operand
miniperlmain.c:58:invalid character '@' in first operand
*** Error code 1
Stop.
Does anyone have any idea what is going on here? I searched dejanews
for referendces on this, tried setting up with cc=shlicc2 and got the
operand errors as well. I build GCC 2.7.2.3 locally on the systems
and got the operand errors again. At this point I'm stumped. Help!
--[Lance]
------------------------------
Date: Sat, 14 Feb 1998 18:25:00 -0500
From: "Eric Germann" <ekgermann@cctec.com>
Subject: Re: convert Perl for UNIX to NT 4.0
Message-Id: <34e627cd.0@news.cctec.com>
Chris Podurgiel wrote in message <6c1p35$rnm$0@208.207.70.134>...
<SNIP>
</SNIP>
>also, I was wondering how do I have a perl script display an image in an
>html page just by using an img tag? IE..
><img src="http://www.mysite.com/cgi-bin/my.pl">
>is there anything special i need to do?
I had to do a binmode on STDOUT, then do a binary read from the file and
print to stdout. That worked for me. Took the longest damned time to
figger out...
>Thank you for your help.
>Chris
>
>
>
------------------------------
Date: Sat, 14 Feb 1998 15:53:58 -0600
From: Chris_Schoenfeld@sonic.net
Subject: Global vars vs. access methods: WAS foreach and my() [GUTS; LONG]
Message-Id: <6c53pn$7to$1@nnrp2.dejanews.com>
Denis,
I neither said it was foolproof nor easier, just a little safer.
If you are already using OO techniques in your program,
the access routines for a handful of globals are a snap.
If you implement an object interface and decide as a programmer
to use that for variable access, $obj::var munging is a pretty
deliberate mistake.
Also, you would of course encapsulate other object methods
and variables into the same package - not one for each global var.
If you do not use OOT, you can still use access subs for accessing
global data - the variable is still global, but you still get *more*
safely by making an agreement with yourself to access it by sub.
See pp 230-233 "Code Complete" McConnell, MS Press, 1993
for other advantages of access routines for global data.
-Chris
In article <34E50247.C0D0C53D@us.oracle.com>,
Denis Goddard <dgoddard@us.oracle.com> wrote:
>
> Chris Schoenfeld wrote:
> >
> > If you want to make your global variables a little safer you could put
> > them in an object and only access them by methods like GetStatus and
> > SetStatus.
>
> So let's see...
> put a variable in a package in a module...
> make the variable part of a data structure...
> bless a reference to that structure...
> and only access it via get/set methods....
>
> Translated to Perl (and pretty much right from FAQs and Panther):
>
> package myobj;
> $global_variable = 42;
> sub new { return bless { attribute => \$global_variable } };
> sub get { my $obj=$_[0]; return ${$obj->{'attribute'}} };
> sub set { my $obj=$_[0]; my $val=$_[1];
> return ${$obj->{'attribute'}}=$val; }
>
> package main;
> my $obj = new myobj;
> my $foo = get $obj;
> print "new foo: $foo\n";
> set $obj 666;
> $foo = get $obj;
> print "set foo: $foo\n";
> $myobj::global_variable="plugh"; # HA!!
> $foo = get $obj;
> print "Munged it globally: $foo\n";
>
> Er, yes, that's much easier
>
> -Denis
>
> --
> __ __ _ __ __
> ~~~~(__)|-< /-\(__ |__(-_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Denis Goddard, Senior Member, Tech. Staff |"I see the heads of men arise
> email: dgoddard@us.oracle.com |with hungry minds and open
eyes!"
> ourworld.compuserve.com/homepages/d_goddard| -Rush, from 2112: _The Oracle_
>
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
------------------------------
Date: Sat, 14 Feb 1998 14:20:48 -0800
From: Brian Charles <charlesb@ccmail.orst.edu>
Subject: How delete mult. form_data varibles in hash
Message-Id: <34E618BF.DD9846E1@ccmail.orst.edu>
Hi,
I'm trying to delete some variables from a hash as shown below,
which works fine.
> my %fields = map /^(.*?)\|(.*)/, <DB>;
> delete($fields{($form_data{'lastname'})});
The hash contains "lastname firstname" and then the 'email address'.
Lastname and firstname come from a file, but originally from an html
form. In order to delete the 'lastname' and 'firstname' what do I do?
>Things like this don't work-
>delete($fields{($form_data{'lastname', 'firstname'})});
------------------------------
Date: Sat, 14 Feb 1998 18:25:45 -0500
From: jdf@pobox.com (Jonathan Feinberg)
Subject: Re: How delete mult. form_data varibles in hash
Message-Id: <MPG.f4ff2088f40b72a9896cf@news.concentric.net>
[This followup was posted to comp.lang.perl.misc and a copy was sent to the
cited author.]
charlesb@ccmail.orst.edu said...
> Hi,
> I'm trying to delete some variables from a hash as shown below,
> which works fine.
> > my %fields = map /^(.*?)\|(.*)/, <DB>;
> > delete($fields{($form_data{'lastname'})});
>
> The hash contains "lastname firstname" and then the 'email address'.
> Lastname and firstname come from a file, but originally from an html
> form. In order to delete the 'lastname' and 'firstname' what do I do?
> >Things like this don't work-
> >delete($fields{($form_data{'lastname', 'firstname'})});
Charles -
Please try and be clearer in stating your problem... to say that "the hash
contains 'foo' and then 'bar'" does not illuminate your data structure. Do
you mean that $hash{foo} = bar? I'll have to guess. To delete the hash
element keyed on "lastname firstname", you need
delete $fields{"lastname firstname"};
If $lastname and $firstname are indeed in separate scalars, then
delete $fields{"$lastname $firstname"};
will serve.
--
Jonathan Feinberg jdf@pobox.com Sunny Brooklyn, NY
------------------------------
Date: Sat, 14 Feb 1998 22:00:42 +0100
From: Peter Edlund <peter.edlund@capgemini.se>
Subject: Re: how to emulate http server
Message-Id: <34E605FA.B0DFB42C@capgemini.se>
dale wrote:
>
> Is there software one can download
> to run under DOS or win95 to
> emulate a http server? I want to test
> perl cgi scripts on my PC without having
> to ftp to a remote server.
Emulate? install Apache, they've got a Winsloth version out.
//peter.
---------------------------------
Peter Edlund
UNIX developement consultant
Cap Gemini Sweden
peter.edlund@capgemini.se
------------------------------
Date: 14 Feb 1998 11:59:38 -0800
From: Russ Allbery <rra@stanford.edu>
To: "Kathleen Ramsey" <kramsey@worldnet.att.net>
Subject: Re: How to substitue Control characters .
Message-Id: <m390ret0t1.fsf@windlord.Stanford.EDU>
[ Posted and mailed. ]
Kathleen Ramsey <kramsey@worldnet.att.net> writes:
> I have a bunch of DOS files that are one line long and have (Ctrl Z)'s
> (Ctrl P)'s and (Ctrl Q)'s. (they are old Office Writer Word Processor
> Files that I need to convert in to flat text)
open (IN, 'filename') or die "can't open filename: $!\n";
binmode IN;
while (<IN>) {
tr/\cZ\cP\cQ/\n\t\t/;
print;
}
--
#!/usr/bin/perl -- Russ Allbery, Just Another Perl Hacker
$^=q;@!>~|{>krw>yn{u<$$<[~||<Juukn{=,<S~|}<Jwx}qn{<Yn{u<Qjltn{ > 0gFzD gD,
00Fz, 0,,( 0hF 0g)F/=, 0> "L$/GEIFewe{,$/ 0C$~> "@=,m,|,(e 0.), 01,pnn,y{
rw} >;,$0=q,$,,($_=$^)=~y,$/ C-~><@=\n\r,-~$:-u/ #y,d,s,(\$.),$1,gee,print
------------------------------
Date: Sat, 14 Feb 1998 18:27:06 -0500
From: jdf@pobox.com (Jonathan Feinberg)
Subject: Re: How to: "ENTER = submit form" ?
Message-Id: <MPG.f4ff259ff1c5f3f9896d0@news.concentric.net>
[This followup was posted to comp.lang.perl.misc and a copy was sent to the
cited author.]
itsme@dds.nl said...
> I have built a web-store using the Selenal Sol web_store cgi-script.
Then I am sure that the folks on comp.infosystems.www.authoring.cgi will be
glad to discuss it with you. This group, on the other hand, is for the
discussion of Perl language issues.
--
Jonathan Feinberg jdf@pobox.com Sunny Brooklyn, NY
------------------------------
Date: Sat, 14 Feb 1998 20:58:27 GMT
From: Bill Jones <webmaster@fccj.cc.fl.us>
Subject: Re: Location: returns empty document?
Message-Id: <34E60465.C8CB55ED@fccj.cc.fl.us>
Hmmm, it should work. Could you give a better idea of surrounding code?
Thx,
Bill
P. Schmitz wrote:
> Hi Holly,
>
> Holly Sommer wrote:
>
> > P. Schmitz wrote:
> >
> > : print "Location: www.yahoo.com\n\n";
> >
> > Because you need to give the location as a complete URL, with the
> > http:// and all.
>
> Sorry about that. The actual test I used did have a complete URL, but I
> typed it into the message instead of copy-and-pasting it. This time I did
> copy and paste:
>
> print "Location: http://www.yahoo.com\n\n";
>
> It's exactly the same as in the C++ source, yet this gives a 'Document
> contains no data' error and the C++ version redirects the browser to Yahoo!,
> as it should. So it still could be a perl-related problem...
>
> Pepijn
------------------------------
Date: Sat, 14 Feb 1998 15:11:13 -0500
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: on reading FAQs and gurus answering questions
Message-Id: <fl_aggie-1402981511130001@aggie.coaps.fsu.edu>
In article <m33ehnyq19.fsf@windlord.Stanford.EDU>, Russ Allbery
<rra@stanford.edu> wrote:
+ I R A Aggie <fl_aggie@thepentagon.com> writes:
+ > My first exposure to moderation was soc.feminism, which probably wasn't
+ > a good first exposure...and I've had a tainted view of moderation since.
+ Ugh. I'm sorry to hear your previous experience has been bad.
S'okay. It was a problem with the "wetware" element, not the technical
element.
+ I honestly do believe it's possible to robomoderate a group in such a
+ fashion that the culture of the group is not appreciably different than an
+ unmoderated group except that there's a way of applying some filters in
+ advance.
Ok, I know what you're saying is so -- the *.cgi group is similarly
robo-moderated, and it seems to help. But I'm unclear as to why that's
so -- the willfully clueless can still get thru, if they wanted.
Apparently, I need a short course on robo-moderation... :)
James
--
Consulting Minister for Consultants, DNRC
The Bill of Rights is paid in Responsibilities - Jean McGuire
To cure your perl CGI problems, please look at:
<url:http://www.perl.com/CPAN-local/doc/FAQs/cgi/idiots-guide.html>
------------------------------
Date: Sat, 14 Feb 1998 15:18:17 -0500
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: on reading FAQs and gurus answering questions
Message-Id: <fl_aggie-1402981518180001@aggie.coaps.fsu.edu>
In article <6c3hce$7i7$1@csnews.cs.colorado.edu>, tchrist@mox.perl.com
(Tom Christiansen) wrote:
+ In comp.lang.perl.misc, Randal Schwartz <merlyn@stonehenge.com> writes:
+ :You can't retrofit clpm as
+ :moderated very easily.
+ It was done for ciwac.
Yes, it was. And it was an uphill fight. It will be far easier to make
a new, moderated group than it will be to change an existing group.
On the other hand, it keeps the newsgroup namespace a bit cleaner. But
is it appropriate to moderate a "misc" group???
*shrug* I think there is agreement that a moderated newsgroup should come
into existence. I'm not convinced that it is worthwhile to take the effort
to change the current clpm charter. I certainly don't have the time to
lead the effort -- and I doubt I'm nearly as busy as you are! :)
James
--
Consulting Minister for Consultants, DNRC
The Bill of Rights is paid in Responsibilities - Jean McGuire
To cure your perl CGI problems, please look at:
<url:http://www.perl.com/CPAN-local/doc/FAQs/cgi/idiots-guide.html>
------------------------------
Date: Sat, 14 Feb 1998 21:35:27 -0000
From: "nospam" <nospam@no.spam>
Subject: Perl training UK
Message-Id: <6c5366$qsg$1@svr-c-02.core.theplanet.net>
We are looking into conducting Perl training in the UK, with a top UK based
computer training agency or with a top Perl Hacker from Stonhenge
Consulting, oregon http://www.perltraining.com
We have not found any other places in the UK fro training.
If anyone would be interest in such training please contact me at
anthonykenny@hotmail.com or tony@furness.co.uk so I can get a ballpark
figure on how many people to expect to be interested.
Tony Kenny
Furness Internet Limited
+44 (0)1229 588588
------------------------------
Date: Sat, 14 Feb 1998 17:16:34 -0500
From: "Ted Thomas" <tthomas@netacc.net>
Subject: Re: Perl use on IIS 4
Message-Id: <34e618a9.0@news.netacc.net>
Hi Tom:
Thanks for the posting on my problem. I did add the .cgi and
e:\ntreskit\perl\perl.exe %s %s to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
W3SVC\Parameters\ScriptMap, and rebooted the computer. It didn't help.
One of my colleagues said he had heard IIS 4 did not need this setting, but
that it needed something else. The trouble is he can't remember what it was,
nor where he heard about it.
As for the SSI, there was no ServerSideIncludesExtension parameter in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters
(though there were several other IIS settings in it - there was no
ServerSideIncludesExtension parameter anywhere in the registry).
It appears that some of the settings for IIS 4 are quite different from IIS
3, but I haven't been able to find any useful information on them.
Here's hoping someone can tell us what IIS 4 needs. Otherwise its of rather
limited value.
Thomas L. Shinnick wrote in message <34e3fe22.34268976@news.io.com>...
>By "added the string value .... to the registry," I assume
>you mean using regedit to locate
>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
> W3SVC\Parameters\ScriptMap
>and adding REG_SZ value so that the result list item is (e.g.)
> .cgi M:\Perl\bin\perl.exe %s %s
>and then restarting the IIS WWW service?
>
>As for SSI, that means you changed the
>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
> W3SVC\Parameters
>value ServerSideIncludesExtension to ".cgi" from the default
>".stm", and checked that value ServerSideIncludesEnabled was
>set to 1?
>
>Oh, and making sure the script is in one of the configured
>virtual dirctories, and that the directory has execute
>privilege?
>
>But then again, I'm using PWS 3.0. Please tell us how this
>is resolved, so I can make plans to/not to upgrade...
>
>On Thu, 12 Feb 1998 22:00:55 -0500, "Ted Thomas" <tthomas@netacc.net>
wrote:
>>I have been unable to get the PWS version of IIS 4, running on a
standalone
>>NT 4 workstation, to run Perl cgi scripts. They either result in the error
>>message "%1 is not a valid Windows NT command" or, in the case of SSI
>>scripts, they are ignored. I added the string value
>>"e:\ntreskit\perl\perl.exe %s %s" with key ".cgi" to the registry, but
this
>>made no difference.
------------------------------
Date: Sat, 14 Feb 1998 20:51:38 GMT
From: Bill Jones <webmaster@fccj.cc.fl.us>
To: Wayne C Wood <Wayne.C.Wood@jpl.nasa.gov>
Subject: Re: POST without a form?
Message-Id: <34E602CB.F14C322A@fccj.cc.fl.us>
Sorry, but I would have to say that what you want and what you are doing is
totally confused :-)
Try just calling the other cgi from the originating cgi? Do not use meta
tags, et al...
Then when the other script is done, just pipe the user browser to a 'safe'
content pages :-)
HTH,
Bill
Wayne C Wood wrote:
> this is the problem...
>
> 1) i have a web-page that contains a form containing two text fields
> which are the name/password for a given users. the action item of this
> form is a perl CGI.
>
> 2) the perl CGI performs some processing on the Content of the form
> contained in the previous HTML file. then it's purpose is to call
> another CGI, along with a "Query String". unfortunately, i can't figure
> out how to pass the "Query String" on to the final destination script
> without including it in the URL.
>
> is there a way to do a POST type transaction so i can send the
> transition information on to the final CGI?
>
> i am using a "META REFRESH" now but that leaves the QUERY string on the
> URL. got anyting better?
>
>
> --
> ######################################################
> ## mailto:Wayne.Wood@jpl.nasa.gov ## M/S 171-300 ##
> ## 4800 Oak Grove Drive ## (VOX) 354-4251 ##
> ## Pasadena, CA 91109-8099 ## (FAX) 393-5009 ##
> ######################################################
> ## Some mornings, it's just not worth chewing ##
> ## through the leather straps. -- Emo Phillips ##
> ######################################################
------------------------------
Date: 14 Feb 1998 20:13:14 GMT
From: lmb@pointer.teuto.de (Lars Marowsky-Bree)
Subject: Re: Sample, simple script which uses threads ?
Message-Id: <slrn6ebump.k0b.lmb@pointer.teuto.de>
On Sat, 14 Feb 1998 00:50:51 -0500, Jonathan Feinberg <jdf@pobox.com> wrote:
> lmb@pointer.teuto.de said...
> > Like, how do I start a new thread and how do I communicate between threads.
> > How do I declare variables local to a thread.
>
> Perl does not yet support threads. Perl5.005, I believe, will have such
> support. Perhaps you want fork() and its cousins?
This is not true. The latest Perl beta does support threads. Check if your
facts are still true before posting ;-)
I am very well aware of fork, it's features and limitations...
--
Lars Marowsky-Bree :homepage email: \ geek, BOFH, psychopath, magician, /
http://teuto.net/~lmb/ lmb@teuto.net \ killer, looney, genius, pervert /
pgp-key-id: 0x09e360c5 / ff 2a 82 e8 6b 85 79 23 9c da b5 81 d4 fc 29 e6
------------------------------
Date: Sat, 14 Feb 1998 15:50:23 -0500
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: The Young Man and the Beach
Message-Id: <fl_aggie-1402981550230001@aggie.coaps.fsu.edu>
In article <EoCIJ4.EvJ@world.std.com>, c28f62@world.std.com (Mark Kramer) wrote:
+ In article <34E45CDC.D6B5D299@ti.com>, Graham Barr <gbarr@ti.com> wrote:
+ >Mark Kramer wrote:
+ ><ungrateful gibberish deleted>
+
+ Ok, Mr. Barr. You tell me, exactly, what I was supposed to be grateful
+ for in the fable Tom posted. Was I supposed to be grateful that he
+ compared all of us to dirty beggars and shoeless children?
Is there anything wrong with being a "dirty beggar" or a shoeless child?
Don't think so. On the other hand, if they are unwilling to help themselves,
why should I be bothered to help them?
The same is true of the FAQers, who want a quick answer to their problem
du jour. "Gimme Gimme Gimme". They have access to the same materials as
I do, both the distributed documentation and the printed documents one
may purchase in the Real World. I took the time to become familiar with
those documents, and I purchased several books.
Amazingly, those books contain something called an "index". It is a
listing of words/concepts, and the pages they appear upon. Searching
for such things in electronic documents is far simpler, and faster.
Even a WWW search will return more and better information _faster_
than a post to Usenet.
And yet, there are those who's first thought is to ask on Usenet. Why?
when they have other, better, sources of information?
+ Was I
+ supposed to be grateful for his reference to all the human debris on
+ "his beach"? No, you don't get to exclude yourself from his fable,
+ since he did not find any of his old friends on the beach, just the
+ rabble.
Graham Barr isn't "just the rabble". If you knew anything about netlib,
you'd know that. The "rabble" in this case is the "gimme gimme gimme"
crowd, which, for some reason, you seem to be one of their Champions.
I'm _sure_ they'll thank you. Eventually. Maybe.
+ Or maybe what I was supposed to be grateful for was the way he was
+ jumping down people's throats for picking the wrong newsreader to post
+ to his group?
Which just happen to have a strong correlation with malformed, not easy to
read posts. If a post is not easy to read, I'm much less likely to read
it, and much less likely to provide any answers to any questions, no matter
how well crafted the question is.
I myself post from one of those "wrong newsreaders". I am also very
concious of my formatting...
+ You tell me, Mr. Barr. Which is it?
I suspect that your pride has been hurt.
+ complains, and when he seems unable to simply walk past the beggars as
+ I have been doing for years.
I see. You aren't really the champion of the gimme crowd. But apparently
you have no compassion, either, to help those in need.
+ How dare I infest his beach? How dare I indeed.
I believe you know where the door is? I'll be _quite_ happy to help
you out, since you seem to be so unhappy here.
+ As for his "soul" purpose being to "help", well, I can state without
+ hesitation that his vendettas helped nobody. It increased the noise
+ and drew attention to himself, that's all.
And your motivations are?
+ who think it excuses his OS flaming. There are some of us here who
+ think his vendetta against properly formatted articles from certain
+ newsreaders does nothing but hurt his reputation and make him look
+ petty and vain. If he doesn't care, then that's fine, but he ought to
+ know.
Then he knows, doesn't he? Ought of curiousity, why do you care about
Tom's reputation??
James
--
Consulting Minister for Consultants, DNRC
The Bill of Rights is paid in Responsibilities - Jean McGuire
To cure your perl CGI problems, please look at:
<url:http://www.perl.com/CPAN-local/doc/FAQs/cgi/idiots-guide.html>
------------------------------
Date: Sat, 14 Feb 1998 17:57:22 -0500
From: jdf@pobox.com (Jonathan Feinberg)
Subject: Re: Tom Christiansen
Message-Id: <MPG.f4feb5e43a1fd4f9896cd@news.concentric.net>
jfo@btinternet.com said...
> Tom's recent posts don't seen to have had much affect!
On the contrary... To some sensibilities they were overly laden with
"affect."
However, his posts (and the resulting controversy) have indeed had an effect
on me. I've taken it upon myself to risk a few barbs by answering whatever
questions I can--typically, the easier ones. This has taken me a good chunk
of time, but I feel like I owe it to te community. I hadn't thought in those
terms before tchrist rekmerged.
--
Jonathan Feinberg jdf@pobox.com Sunny Brooklyn, NY
------------------------------
Date: 14 Feb 1998 18:33:03 -0500
From: brown9@niehs.nih.gov (Lance A. Brown)
Subject: Re: Tom Christiansen
Message-Id: <yd1yazd7oeo.fsf@splat.niehs.nih.gov>
Jonathan Feinberg <jdf@pobox.com> writes:
> However, his posts (and the resulting controversy) have indeed had
> an effect on me. I've taken it upon myself to risk a few barbs by
> answering whatever questions I can--typically, the easier ones.
> This has taken me a good chunk of time, but I feel like I owe it to
> te community. I hadn't thought in those terms before tchrist
> rekmerged.
This is the true value of USENET groups such as clpm. Whenever I post
a question and get an answer I try to catch the same question next
time and provide the answer to the next questioner.
--[Lance]
------------------------------
Date: Sat, 14 Feb 1998 18:22:46 -0500
From: jdf@pobox.com (Jonathan Feinberg)
Subject: Re: VB5: Win95 sound volume control
Message-Id: <MPG.f4ff15621eb3dc79896ce@news.concentric.net>
[This followup was posted to comp.lang.perl.misc and a copy was sent to the
cited author.]
thijs@kink.xs4all.nl said...
> I'm having some questions on manipulating the Windows sound output. I'm now
> able to set the volume on any device by using auxSetVolume from winmm.dll.
This newsgroup is for the discussion of issues surrounding the Perl
programming language.
--
Jonathan Feinberg jdf@pobox.com Sunny Brooklyn, NY
------------------------------
Date: 14 Feb 1998 23:49:56 GMT
From: Zenin <zenin@best.com>
Subject: Re: Why is Tom Christiansen so rude?
Message-Id: <887500456.322344@thrush.omix.com>
Steffen Beyer <sb@en.muc.de> wrote:
: Kent Perrier <kperrier@Starbase.NeoSoft.COM> wrote:
: > But the FSF has provided a functional equivalent of the unix grep for
: > Bill'$ broken OS.
: Unfortunately, beginners and poor PC owners might not be aware of that... :-)
>snip<
C:\> wordpad perlfaq
^F
It really can't be *that* hard... :^)
--
-Zenin
zenin@best.com
------------------------------
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 1900
**************************************