[9377] in Perl-Users-Digest
Perl-Users Digest, Issue: 2972 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Jun 24 22:07:24 1998
Date: Wed, 24 Jun 98 19:00:27 -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 Wed, 24 Jun 1998 Volume: 8 Number: 2972
Today's topics:
Re: $^T <david.x.corcoran@boeing.com>
Re: Comparing the contents of an array? (Charles DeRykus)
Re: Ctrl+D not working; stuck in STDIN (Ilya Zakharevich)
Deliver EXE File Via CGI debel@bigfoot.com
Re: Exit status from system() not what I expected (and (Charles DeRykus)
Re: Flames.... <ebohlman@netcom.com>
Re: Flames.... <ebohlman@netcom.com>
Re: Flames.... (Tad McClellan)
Re: Help with site command in NET::FTP (Jeffrey Drumm)
Re: How to make 2D indexed array of hash? <stuartc@ind.tansu.com.au>
Re: How to use ora_bind with an array in DBD::Oracle? (John D Groenveld)
Re: Moving application from DOS to a GUI. (Kevin J. Butler)
multi-thread in Perl? <yinso@u.washington.edu>
Re: system() and security again <rra@stanford.edu>
Re: Testing perl knowledge (Charles DeRykus)
Re: TIP: How to post good questions birgitt@my-dejanews.com
Re: trying to run a unix prog with perl (Brand and Karina Hilton)
Re: trying to run a unix prog with perl <rra@stanford.edu>
Re: What a Crappy World (oh, yes!) (Larry Rosler)
Re: What a Crappy World (oh, yes!) (Tad McClellan)
Re: What a Crappy World (Larry Rosler)
Re: What a Crappy World (Tad McClellan)
Re: What a Crappy World <merlyn@stonehenge.com>
Re: What a Crappy World <merlyn@stonehenge.com>
Re: Would someone tell me what this means? <ebohlman@netcom.com>
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 24 Jun 1998 15:01:12 GMT
From: David Corcoran <david.x.corcoran@boeing.com>
Subject: Re: $^T
Message-Id: <359114B8.7D2E@boeing.com>
Wynn Fenwick wrote:
>
> What is the special variable $^T?
>
> the line of code looks like...
>
> $ary[$thisdate] = $^T;
>
> I haven't been able to find anything on it.
>
> Also, anyone know how to tell Dejanews that I actually want to search
> for special characters like that...
>
> Wynn
> --
> Remove the _'s to reply via email.
> Wynn Fenwick
See:
http://www.aisd.com/technology/perl/man/perlvar.shtml#perlvar_predefined_0
------------------------------
Date: Wed, 24 Jun 1998 02:15:27 GMT
From: ced@bcstec.ca.boeing.com (Charles DeRykus)
Subject: Re: Comparing the contents of an array?
Message-Id: <Ev1A9r.FzG@news.boeing.com>
In article <Pine.GSO.3.96.980623163916.17934B-100000@joxer.acsu.buffalo.edu>,
Bryan T Hoch <bth@acsu.buffalo.edu> wrote:
>Hi,
>I think this should be a simple question to answer, but I'm still not sure
>of a good way to do it.
>I want to compare the contents of two arrays. For example, if I have array
>A and array B, I want to be able to go through and see which elements
>array A has that array B doesn't have, and also which elements array B has
>that array A doesn't have.
>Is there a simple way of doing this?
>
One possibility though there may be faster ways:
@A{@A} = (undef) x @A;
@B{@B} = (undef) x @B;
@A_not_B = grep !exists $B{$_}, @A;
@B_not_A = grep !exists $A{$_}, @B;
HTH,
--
Charles DeRykus
------------------------------
Date: 25 Jun 1998 00:35:24 GMT
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Subject: Re: Ctrl+D not working; stuck in STDIN
Message-Id: <6ms60c$sld$1@mathserv.mps.ohio-state.edu>
[A complimentary Cc of this posting was sent to Russ Allbery
<rra@stanford.edu>],
who wrote in article <m3u35a1ht5.fsf@windlord.Stanford.EDU>:
> jdf <design@fiax.net> writes:
>
> > I'm encountering a weird little problem w/ Perl on Win95:
>
> > When I type in Ctrl+D to terminate a keyboard entry (<STDIN>), Perl,
> > instead of NOT printing, considering STDIN finished, and running the
> > remainder of the program,
>
> Try using Ctrl-Z (or, if I remember correctly, F6). The Windows world has
> a different concept of EOF than the Unix world.
<nitpicking>
If I'm not mistaken, EOF is the same (-1) in both worlds (on common
compilers). But "hot keys" for tty interface (which have nothing to
do with EOF for files) are different indeed.
Ilya
------------------------------
Date: Thu, 25 Jun 1998 01:40:00 GMT
From: debel@bigfoot.com
Subject: Deliver EXE File Via CGI
Message-Id: <6ms9ph$8rb$1@nnrp1.dejanews.com>
I'm trying to find a way to deliver an EXE file that will run in a WIN/DOS
environment via CGI. The code snippet below is a sample of what I have so far.
This CGI displays a GIF image in the user's browser. I would like to learn how
to modify this code to deliver an EXE file:
#!/usr/bin/perl
print "Content-type:image/gif\n\n";
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;
$value =~ s/~!/ ~!/g;
$FORM{$name} = $value;
}
foreach $key (keys(%FORM)) { # do nothing, just read }
$theMainDataPath = "/WWW/www.someserver.com/cgi-bin/elvis/cow.gif";
open(IN,"$theMainDataPath");
while (<IN>) { print $_; }
close(IN);
In a different version of this CGI, I specified the content type as
application/zip and tried to deliver a zip file. I thought I was close,
Netscape showed a dialog box prompting me to save the file to my hard disk.
However, afterwards I found that zero bytes where transmitted.
Can anyone point me to a place where I can learn how to deliver an EXE file
via CGI. For a minute there I thought I was close, but I've been wrong
before. :)
Any help/advice will be greatly appreciated.
-=Daniel
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
------------------------------
Date: Wed, 24 Jun 1998 00:19:14 GMT
From: ced@bcstec.ca.boeing.com (Charles DeRykus)
Subject: Re: Exit status from system() not what I expected (and other doc probs)
Message-Id: <Ev14w2.9r0@news.boeing.com>
In article <r8hg1ch8wj.fsf@asc.sps.mot.com>,
Martin Gregory <mgregory@asc.sps.mot.com> wrote:
>
>The documentation of system() says that if the program died from a
>signal then the lower 8 bits of the return value will be set.
>
>I have this in foo.pl:
>
>eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' # -*- Perl -*-
> & eval 'exec perl -w -S $0 $argv:q'
> if 0;
>
>my $ExitStatus = system("yes > /dev/null");
>
>printf("Exit Status 0x%x\n",$ExitStatus);
>
>
>and see this:
>
>[djarraba-mg]{asc} foo.pl
>Exit Status 0x8200
>[djarraba-mg]{asc} foo.pl
>Killed
>Exit Status 0x8900
>[djarraba-mg]{asc}
>
>In the first case, I typed ^C at the command line.
>
>In the second case I sent the 'yes' process a SIGKILL signal using top
>(so I know that I killed the 'yes', not the perl process).
>
>In neither case are the lower 8 bits set.
>
>Note that the code on page 230 of the blue camel would, in this
>instance, say
>
> "ran with non-zero exist status 137"
>
>which is not the right answer - the commentary implies that it would
>say
>
> "ran with signal <something sensible>"
>
>However, the problem with the doco seems to run deeper than even that:
>the code that is supposed to be determining whether a signal was
>received checks to see if the value is > 0x80. This does not equate
>to checking that none of the low bits are set (that would be > 0xFF).
>
>Is this all completely up the broken, or what am I missing?
>
>I really want to know how to tell whether the program got a signal,
>because I want my calling program to die in that case. Specifically,
>I want my program to die if the user types ^C (OK - sends SIGINT), but
>I want it to keep going (noting the error) if the called program
>returns an error status. I'm almost tempted to just see if bit 15 is
>set and guess that this meant a signal hit, since this is what my
>empricial evidence suggests!
>
The signal's embedded in the program exit status.
This can happen for instance if the process forked by
system launchs another shell apparently. I'm not sure
why this happens in the case of yes though.
perl -e 'print 0x8200>>8 & 0x7f' # prints 2
perl -e 'print 0x8900>>8 & 0x7f' # prints 9
HTH,
--
Charles DeRykus
------------------------------
Date: Thu, 25 Jun 1998 00:39:57 GMT
From: Eric Bohlman <ebohlman@netcom.com>
Subject: Re: Flames....
Message-Id: <ebohlmanEv30IM.B8v@netcom.com>
John Moreno <phenix@interpath.com> wrote:
: I come here looking for interesting problems to solve, but I don't count
: as "expert" except to people who don't know anything, so I guess I don't
: count. And of course I'd really like to know what questions Tom C is
: Randal Schwartz, Abigail, and Tom Phoenix are interested in having
: answered.
Ones about Perl's future, from what I've seen.
: Yes, it's the way I want (how else - NOT they way I want?), but what I
: want isn't that difficult, simply evidence that the person has attempted
: to answer the question on his own and NOT just by trial and error.
: Looked in the manual, looked in the FAQ.
And that level of evidence allows you to reasonably assume that the
person will actually understand your answer rather than just going "huh?"
------------------------------
Date: Thu, 25 Jun 1998 00:50:05 GMT
From: Eric Bohlman <ebohlman@netcom.com>
Subject: Re: Flames....
Message-Id: <ebohlmanEv30zI.BrD@netcom.com>
Lloyd Zusman <ljz@asfast.com> wrote:
: I totally agree. And the teachers in this scenario would *not* be
: justified, in my opinion, to insult or berate the student.
: Suitable response by the teachers in question:
: "This isn't the right time or place for your question. Please
: bring this up in class or research it on your own."
: Non-suitable response by the teachers in question:
: "You are a lazy freeloader who wants to make others do your work
: for you. You are like a member of a swarm of flies who is
: contaminating this area. Look up the answer yourself."
Maybe my newsfeed is corrupted, but I see a lot more of the former types
of responses here than the latter. I also occasionally see people who,
after receiving one of the former types of response, answer as if they
had received one of the latter. These are the posters we refer to as
having a "gimme attitude."
: [ Note that the "flies" analogy was actually made here recently
: by more than one person who was referring to newbies. ]
No, I think all those people were referring to a proverb that goes "you
can catch more flies with honey than vinegar." 'tis a figure of speech.
------------------------------
Date: Wed, 24 Jun 1998 18:54:58 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: Flames....
Message-Id: <ik3sm6.rkr.ln@localhost>
T. Ames (ames0009@tc.umn.edu) wrote:
: On Wed, 24 Jun 1998 18:42:51 GMT, phenix@interpath.com (John Moreno)
: wrote:
: >That's probably because this isn't a help desk or even a simulation of
: >it.
: >
: This is the biggest myth of all.
You are exactly RIGHT!
c.l.p.m *IS* a help desk.
So now...
Your subscription to Premium Perl Support Level CLPM has expired.
Please remit $100 (US) ($200 for Platinum) to the Perl Institute.
Then come back and bitch that what you get for free is not good enough
for you.
: time to flame people, rather than just ignoring posts they think are
: beneath them.
You are in luck!
Just hold on for a few short weeks and you will see **all kinds**
of ignored (or wrongly answered) posts on c.l.p.misc...
Then you will have your wish.
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Thu, 25 Jun 1998 01:36:23 GMT
From: drummj@mail.mmc.org (Jeffrey Drumm)
Subject: Re: Help with site command in NET::FTP
Message-Id: <35919219.884425056@news.mmc.org>
[posted and mailed]
On Wed, 24 Jun 1998 13:39:34 -0700, "James Isaacson" <jcisaac@pacbell.com>
wrote:
>I have tried the quot first and then the command method.
>
>The real issue is that neither the quot or command waits for the site
>command to finish, therefore the script continues and fails. Is there a
>waitfor or prompt method i could use? The site command in question
>outputs about 5 lines of text and takes a second or two.
Can't you just sleep() for 5 seconds, then check $ftp->message?
--
Jeffrey R. Drumm, Systems Integration Specialist
Maine Medical Center Information Services
420 Cumberland Ave, Portland, ME 04101
drummj@mail.mmc.org
"Broken? Hell no! Uniquely implemented." -me
------------------------------
Date: 25 Jun 1998 10:05:28 +1000
From: Stuart Cooper <stuartc@ind.tansu.com.au>
Subject: Re: How to make 2D indexed array of hash?
Message-Id: <yeora0efirb.fsf@kudu.ind.tansu.com.au>
Dave Knight <lucasdave@hotmail.com> writes:
> I would appreciate some advice on working with a 2D array, where I would
> like to create a 2D array which is basically an indexed array of hash
> arrays. Could someone please show me a few examples of defining this
> array, getting to various fields in it, and passing it to a subroutine.
> I need to use this array to access structures similar to records or
> structures (like those used in Pascal and C++) and have heard that hash
> arrays should be used as records. I then will have an indexed array of
> these hash arrays.
> Thanks for your help
> Dave
perldoc perldsc
See especially the parts
Declaration of a LIST OF HASHES
Generation of a LIST OF HASHES
Access and Printing of a LIST OF HASHES
> ie. Is this correct? I set a 2D array up like @foo = ([a => 'A', b =>
> 'B'] [c => 'C', d => 'D']), and then access it like this $foo[0][a] =
> 'A' ?
Get into the habit of writing short perl programs to test out your ideas.
The declaration will probably look like
@foo = (
{
a => 'A',
b => 'B',
},
{
c => 'C',
d => 'D',
},
);
and the access will probably look like $foo[0]{a}.
Hope this helps,
Stuart Cooper
stuartc@ind.tansu.com.au
------------------------------
Date: 24 Jun 1998 20:35:11 -0400
From: groenvel@cse.psu.edu (John D Groenveld)
Subject: Re: How to use ora_bind with an array in DBD::Oracle?
Message-Id: <6ms5vv$bg4$1@tholian.cse.psu.edu>
Nope, not currently supported. I think its on Tim Bunce's wish list,
however.
John
groenveld@acm.org
------------------------------
Date: 24 Jun 1998 17:52:44 -0600
From: butler@grind.cs.byu.edu (Kevin J. Butler)
Subject: Re: Moving application from DOS to a GUI.
Message-Id: <w4nn2b2mk6r.fsf@grind.cs.byu.edu>
David Sheets <dsheets@glue.umd.edu> writes:
> I am working on moving an application from a DOS/UNIX version, to a
> version that uses a GUI and will run on Windows 95 and X Windows with
> (hopefully) only small modifications to the code. I have been looking at
> Tcl/Tk as a possible option, but it seems like there might be problems
> with using that. I know nothing about either Perl or Python but after
> reading through the FAQ's think I might be able to use them.
> The original program is written entirely in C, and we are hoping to
> find a language that will allow us to both use our math routines as they
> are now (ie, our current C code should interface with the language) and
> write the GUI in a method that will be easily portable to Win95 and
> X Windows.
> We mainly want a way to display some menus, call our C math
> functions, and then put pixels to the screen as our math functions spit
> them out. If anyone could comment on Perl, Python, Tcl, or even any
> other language's usefulness for this application, it would be very
> helpful in our final decision. Thank you in advance for any input.
>From your brief description, you can use either Perl, Python, or Tcl
easily.
I'm much more familiar with Python. You can easily use Python
for your three stated requirements:
1) Display menus: Done easily, totally cross-platform with
Python and Tkinter. The Tkinter docs on www.python.org and
http://www.pythonware.com/library.htm should give you enough information.
2) interface with C code: I'd recommend using SWIG, whether you
decide on Python, Perl, or Tcl. See www.swig.org. SWIG takes a
(usually modified) C header file and creates scripting-language
wrappers for all the functions. Generated code, and SWIG itself,
are generally portable between operating systems. SWIG supports
Perl, Python, Tcl, and other languages.
3) put pixels on the screen: tkinter as well, use the Canvas class.
I'm sure you can write this reasonably easily in any of the three
scripting languages you mentioned, especially if you use SWIG.
My experience has been that Python is the easiest of the three to
"get into" as a novice - I looked at each, but chose Python,
and have been happy with that decision.
kb
--
Kevin Butler butler@byu.edu 8-)
A pun a day keeps the doctor away...and everyone else, too.
http://students.cs.byu.edu/~butler/homepage.html (updated 10/18/96)
------------------------------
Date: Wed, 24 Jun 1998 16:50:06 -0700
From: Y Chen <yinso@u.washington.edu>
Subject: multi-thread in Perl?
Message-Id: <Pine.OSF.3.96b.980624164225.21279A-100000@saul7.u.washington.edu>
Hi,
I am not exactly sure how I should accomplish this... it may be a very
simple trick that I am just missing it, but please let me know if you have
a solution.
I have a command line driven script that's processing a huge amount of
database query, and I would like to print something out while I am waiting
for it to return. If possible, I would like the data processing and the
printing to be running concurrently instead of sequentially. Does anyone
know how this would work? I am picturing something like:
while (# inside the loop) {
# processing goes here.
...
# at the same time, it will also print something out every 5 secs.
...
}
Note I cannot have the print_out funciton sleep, cuz that will add onto
the total time of processing.
Thanks for any help :)
p.s. plz cc my email when reply,
yin-so
------------------------------
Date: 24 Jun 1998 17:10:21 -0700
From: Russ Allbery <rra@stanford.edu>
Subject: Re: system() and security again
Message-Id: <m3lnqm1guq.fsf@windlord.Stanford.EDU>
Larry Rosler <lr@hpl.hp.com> writes:
> Poor dumb Jonathan didn't make it that far through the maze either.
I'm not saying anyone is dumb. I'm saying that the documentation exists
in the latest public release of Perl. Not that it's easy to find, not
that it's in quite the place one would expect, just that it exists.
That's all.
--
#!/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: Wed, 24 Jun 1998 22:59:24 GMT
From: ced@bcstec.ca.boeing.com (Charles DeRykus)
Subject: Re: Testing perl knowledge
Message-Id: <Ev2vv0.4C9@news.boeing.com>
In article <6mps7g$l52$1@news.NERO.NET>,
John Stanley <stanley@skyking.OCE.ORST.EDU> wrote:
>In article <pudge-2306982254300001@dynamic448.ply.adelphia.net>,
>Chris Nandor <pudge@pobox.com> wrote:
>>I am a Certified Perl Engineer (CPE). I sent e-mail to a guy who
>>certified me. I also certified myself.
>
>You should be careful with this. Many states assign special legal status
>to the title "engineer".
>
Judge: You are charged with impersonating an engineer. What
say you ?
CPE: Perl stands for "Pathologically Ecletic Rubbish
Lister" and its motto is "There's More Than One
Way To Do It". 'Engineer' is a bit of, um, license
than one can scarcely fault, your Honor.
Judge: Dismissed... but don't be seen hanging out with
Randal.
--
Charles DeRykus
------------------------------
Date: Wed, 24 Jun 1998 23:51:07 GMT
From: birgitt@my-dejanews.com
Subject: Re: TIP: How to post good questions
Message-Id: <6ms3db$vqe$1@nnrp1.dejanews.com>
In article <fl_aggie-2406981247580001@aggie.coaps.fsu.edu>,
fl_aggie@thepentagon.com (I R A Aggie) wrote:
>
> Repost, time..and yes, Olga, there *are* stupid questions.
>
> Date: 09 Nov 1995 02:57:30 GMT
> From: mjd@plover.com (Mark-Jason Dominus)
> Subject: Re: system() question
>
> There are a lot of reasons, many of which get repeated over and
> over again, many of which don't. Some of the reasons you hear a lot
> are:
[snipped away - an outstanding effort and tremendous amount of caring]
Don't you think that this article - may be cut down a bit - is
worth to be auto-posted "very often" with a more "aggressive"
subject line ?
I am just deeply amazed about how much passion goes into doing this
kind of a volunteer work. Kudos and thanks for writing and reposting
that.
Birgitt Funk
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
------------------------------
Date: Thu, 25 Jun 1998 00:55:20 GMT
From: bkhilton@netcom.com (Brand and Karina Hilton)
Subject: Re: trying to run a unix prog with perl
Message-Id: <bkhiltonEv3188.2qI@netcom.com>
In article <m3wwa61hup.fsf@windlord.Stanford.EDU>,
Russ Allbery <rra@stanford.edu> wrote:
>The technical answer is to either use something like the Expect module to
Are you sure you mean the Expect module? I remember when that
module was announced, but have yet to see it on CPAN. Is it
available elsewhere?
Brand
------------------------------
Date: 24 Jun 1998 18:24:13 -0700
From: Russ Allbery <rra@stanford.edu>
Subject: Re: trying to run a unix prog with perl
Message-Id: <m3g1guz32a.fsf@windlord.Stanford.EDU>
Brand and Karina Hilton <bkhilton@netcom.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> The technical answer is to either use something like the Expect module
> Are you sure you mean the Expect module? I remember when that module
> was announced, but have yet to see it on CPAN. Is it available
> elsewhere?
It's available on CPAN in authors/id/AUSCHUTZ as Expect.pm-1.04.tar.gz.
I don't know why it's not in either the module list or linked into the
modules tree...?
--
#!/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: Wed, 24 Jun 1998 17:07:09 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: What a Crappy World (oh, yes!)
Message-Id: <MPG.ffb348c1ddfe2b99896cc@nntp.hpl.hp.com>
In article <m3hg1a2xo0.fsf@windlord.Stanford.EDU>, Russ Allbery
<rra@stanford.edu> says...
...
> See, the first post I ever made to Usenet was
> three days after I started reading, before I read news.announce.newusers,
> and was badly miswrapped (not because I was using Microsoft trash, but
> because I had only been using vi for three days and it didn't work at all
> like EDT always did). Despite that, I got a very cordial welcome from the
> group I posted to.
>
> I hate to think of what my experience with Usenet might have been if that
> had not been the case. I might have given up on the place completely and
> thereby not met hundreds of wonderful people and found out an immense
> amount about a huge variety of topics.
I agree. My first post (in January) turned out to be answered by
perlfaq4: "How can I use a reference as a hash key?" But, perhaps
because it was reasonably presented, I got answers, not flames. (I admit
I was apprehensive when I submitted it.)
Since then, I've learned an enormous amount about Perl that isn't in the
books, and shared some of it when appropriate. I've also met a few
"wonderful people."
A gentle answer turns away wrath, but a harsh word stirs up anger.
Proverbs 15:1
Or fear and loathing.
--
Larry Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Wed, 24 Jun 1998 20:02:38 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: What a Crappy World (oh, yes!)
Message-Id: <ej7sm6.grr.ln@localhost>
Olga (katzman@students.uiuc.edu) wrote:
: Oh, ok
: and who should get to set the minimum standards, Craig?
news.announce.newusers
has periodic postings that outline the minimum standards
of what is expected in Usenet newsgroups.
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Wed, 24 Jun 1998 16:46:25 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: What a Crappy World
Message-Id: <MPG.ffb2faa21d139f19896cb@nntp.hpl.hp.com>
In article <3591552f.10328814@news.tc.umn.edu>, T. Ames
<ames0009@tc.umn.edu> says...
> On 24 Jun 1998 18:09:54 GMT, Tom Christiansen <tchrist@mox.perl.com>
> wrote:
>
> > [courtesy cc of this posting sent to cited author via email]
> >
> >In comp.lang.perl.misc, ames0009@tc.umn.edu (T. Ames) writes:
> >:>I know I'm a pig-ignorant slut. --Andrew Hume
> >:
> >:I've noticed (and I'm not the only one) that you use your sigs. as a
> >:means to further insulting people. This group is really taking an
> >:ugly turn.
> >
> >Gosh no. I do no such thing! I don't even know what sig is there.
> >It's something inews chooses for me.
> >
> >--tom
> >
>
> If that is the case, then I apologize. But you can see that in this
> particular case, the sig. didn't look so good.
I discussed this point with Tom recently, saw his code, and am sure that
the sigs are randomly chosen. Some of them are very amusing and
intriguing. But the ensemble includes quotations that are
sexist/misogynist or otherwise unfunny, to say nothing of off-topic
regarding programming and languages.
I write it off as an (almost) harmless self-indulgence on Tom's part. We
have very different views about "correctness."^H^H". (Including where
the quote mark goes relative to the period. :-)
--
Larry Rosler
Hewlett-Packard Laboratories
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Wed, 24 Jun 1998 19:25:10 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: What a Crappy World
Message-Id: <6d5sm6.jnr.ln@localhost>
Olga (katzman@students.uiuc.edu) wrote:
: No kidding,
Actually he was kidding.
He is on *your* side.
See his sig? (it's that last line done there. A quote from Homer Simpson)
Sheesh...
: On 24 Jun 1998, Scratchie wrote:
: > Olga <katzman@students.uiuc.edu> wrote:
: > : They can merely ignore those posts which they find insult their
: > : intelligence and move on to the next one.
: >
: > But then they wouldn't get to devise a pithy, withering put-down. And what
: > fun is that? It's no fun answering a FAQ, but it's lots of fun to display
: > your intellectual superiority (compared to a rank newbie, but that's not
: > the point).
: >
: > And besides, if anyone dares post here without reading every single word
: > of Perl documentation -- or without knowing how to use every single unix
: > utility available -- they deserve to have buckets of excrement dumped on
: > their head until they leave.
: >
: > --Art
: >
: > "In case you can't tell, I'm being sarcastic" -- Homer Simpson
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Thu, 25 Jun 1998 01:50:04 GMT
From: Randal Schwartz <merlyn@stonehenge.com>
Subject: Re: What a Crappy World
Message-Id: <8cra0exnb5.fsf@gadget.cscaper.com>
>>>>> "Scratchie" == Scratchie <upsetter@ziplink.net> writes:
Scratchie> From the Blue Camel:
Scratchie> Most important, you don't have to know everything there is
Scratchie> to know about Perl before you can write useful
Scratchie> programs. .... You can program in Perl Baby-Talk and we
Scratchie> promise not to laugh..."
Scratchie> Too bad that's not part of the charter for this group.
it *does* in fact apply to this group. We don't laugh at any
"Perl baby-talk" here.
We *do* disapprove of people asking questions that are word-for-word
from the FAQ, or in the wrong group, or vague enough that we can't
tell what the problem is. None of those are "Perl Baby-talk"... they
are simply baby-human behavior. Not tolerated.
What problem do you have with that?
print "Just another Perl hacker," # but not what the media calls "hacker!" :-)
## legal fund: $20,990.69 collected, $186,159.85 spent; just 68 more days
## before I go to *prison* for 90 days; email fund@stonehenge.com for details
--
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me
------------------------------
Date: Thu, 25 Jun 1998 01:56:54 GMT
From: Randal Schwartz <merlyn@stonehenge.com>
Subject: Re: What a Crappy World
Message-Id: <8cn2b2xmzr.fsf@gadget.cscaper.com>
>>>>> "Lloyd" == Lloyd Zusman <ljz@asfast.com> writes:
Lloyd> If you don't want to be a "teacher" here in c.l.p.misc, then
Lloyd> don't do it. But if you have chosen that role for yourself,
Lloyd> then don't forget that almost each "newbie" that shows up here
Lloyd> is like a brand new second-grade student.
But we're not meta-saying anything that hasn't already been meta-said
a dozen times! The "news.announce.newusers" posts (which everyone is
required to read before their first post to Usenet) say "read the
group for a week or two minimum before posting". And within that
period of time, the FAQ, and meta-FAQ both come crawling through. You
should READ those. And that's plenty of opportunity to see *which*
posts get flamed, and which posts get results.
I'm sorry, I'm really having a tough time understanding why *adults*
are unable to follow that plan. Therefore, I have the right to
presume that anyone that violates that plan is a child, and needs to
be straightened out.
I'm pretty quiet about it, but I do speak in defense of the others
that do this.
Newbies can get questions answered, plainly. They just need to do
some homework first.
How hard can THAT be?
print "Just another Perl hacker," # but not what the media calls "hacker!" :-)
## legal fund: $20,990.69 collected, $186,159.85 spent; just 68 more days
## before I go to *prison* for 90 days; email fund@stonehenge.com for details
--
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me
------------------------------
Date: Thu, 25 Jun 1998 01:28:02 GMT
From: Eric Bohlman <ebohlman@netcom.com>
Subject: Re: Would someone tell me what this means?
Message-Id: <ebohlmanEv32qq.IE8@netcom.com>
Rich Bowen <rbowen@databeam.com> wrote:
: For the record, the code is from wwwboard by Matt Wright, which is in
: use on hundreds of web sites around the world. I was just looking at the
Unfortunately. A lot of Matt's code isn't prepared to deal with visits
from Mr. Murphy; it just blindly assumes that files will open properly,
all form parameters will be correctly formatted and supplied, and so on.
It also relies on handwritten parameter-decoding code that can't cope
with certain special cases, rather than using standard modules like
CGI.pm. Part of the problem is that much of it was written back in the
days of Perl 4 when there weren't any standard modules, and another part
is that Matt was just a kid at the time.
------------------------------
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 2972
**************************************