[9379] in Perl-Users-Digest
Perl-Users Digest, Issue: 2974 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Jun 25 03:07:11 1998
Date: Thu, 25 Jun 98 00:00:41 -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 Thu, 25 Jun 1998 Volume: 8 Number: 2974
Today's topics:
Re: Curses module - need help <rra@stanford.edu>
Re: first language - last language (Cypher)
Re: Flames.... <ljz@asfast.com>
Re: Flames.... (Cypher)
Re: Flames.... (Ronald J Kimball)
Re: Flames.... <rra@stanford.edu>
Re: Flames.... <steph@hotkey.net.au>
Re: foreach not reading array? <kenner@DELETE.MExnet.com>
Re: Help with site command in NET::FTP <jcisaac@pacbell.com>
Re: s/\s//g - causing strange result (Ronald J Kimball)
Re: s/\s//g - causing strange result <rootbeer@teleport.com>
Re: To be BIG or to be small ... that's my question <steph@hotkey.net.au>
Re: To be BIG or to be small ... that's my question <steph@hotkey.net.au>
Re: Usefulness of off-topic threads - split feelings (Ronald J Kimball)
Re: What a Crappy World (oh, yes!) (Craig Berry)
Re: What a Crappy World (oh, yes!) <rra@stanford.edu>
Re: What a Crappy World <ljz@asfast.com>
Re: What a Crappy World <b-camp@students.uiuc.edu>
Re: What does this error mean? tshiono@cv.sony.co.jp
Re: What module to download a gif? <rootbeer@teleport.com>
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 24 Jun 1998 21:33:09 -0700
From: Russ Allbery <rra@stanford.edu>
Subject: Re: Curses module - need help
Message-Id: <m3zpf2xfqy.fsf@windlord.Stanford.EDU>
William P Setzer <wsetzer@babylon5.unity.ncsu.edu> writes:
> Ok, I'll argue. It seems to be vogue in this newsgroup now. :)
*laugh*
> To be precise, getch() returns ERR under those conditions, which in this
> particular case (SysV-ish curses, most likely) is -1. This is very
> intuitive, as of the 120+ functions Curses defines, some 100+ of them
> return ERR when not successful. (Usually. :)
Right. My inclination would be to always map ERR to undef rather than -1,
and then make the tweak...
> *) Ok, instead of throwing away the return value, give it back:
> RETVAL == ERR ? sv_setsv(ST(0), &sv_undef)
> : sv_setiv(ST(0), (IV)RETVAL);
> The big problem here is that in some curses, OK == 0, so
> here we'd be returning `undef' or `0'. (Eek!)
...for those functions that return only success or failure to return 1 for
success. That does indeed require...
> *) Change just getch() and a few of the other obvious functions.
> I have a social problem with this in that the new documents will
> have to say, "return the values just like their C counterparts
> except for these few cases", which to me is more confusing than
> not. And given the subtle (and not subtle) differences between
> various curses libraries, this could snowball rather quickly.
...some level of special casing, which I gather that you're implying here
that you dislike, but I think that could be solved by saying that "undef
is returned if the function returns ERR, and if the function is defined to
return only success or failure, the Perl interface returns 1 on success
and undef on failure." That would make the result much more Perlish,
although it would be different than curses behavior in C.
--
#!/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: 25 Jun 98 04:26:47 GMT
From: c_lamson@oz.plymouth.edu (Cypher)
Subject: Re: first language - last language
Message-Id: <3591d187.0@news.plymouth.edu>
In article <6mrfv3$2p7$1@nnrp1.dejanews.com> birgitt@my-dejanews.com writes:
>In article <3588E674.50B81564@nortel.co.uk>,
> "F.Quednau" <quednauf@nortel.co.uk> wrote:
>
>
>> Perl is the first laguage that I am trying to explore in depth. And that is
>> because Perl is what it is, and Fortran, Delphi and VBasic failed to do the
>> same, that is, gripping my imagination. I perceive Perl as a kind of freestyle
>> language, where you have so many ways to do something that people tend to say
>> 'this is no good for a beginner'. But hey, you can grow with the language, and
>> you can use Perl on a very basic level (I know what I am talking about). And,
>> not to forget, Perl is FREE. It's availability is excellent, Documentation is
>> good, and you get to speak to nice people :). So if you like coolness, and a
>> bit of weirdness , go for Perl! I luvvit!
>>
Perl rocks as a first language. I'm learning it very quickly and am
enjoying even staying up late at night reading the camel book. :)
>
>And I 'luvve' this thread - very luvvly statements from ol' realist
>programming moms and dads. So I can't resist:
>
> What is the *last* language all you experts would ever want to
> deal with ? Don't say there isn't one.
>
I don't look forward to learning Java, it just bores me. It's
just applets and wierd things that don't really interest me. Assembler
will be tough, but very useful, so I must learn it, but am not looking
forward much to that either... hehe. :)
>Who bets with me ? Will the thread be as long from here on
>as it was for *first* language ?
>
>:-)
>
>Birgitt Funk
>
>-----== Posted via Deja News, The Leader in Internet Discussion ==-----
>http://www.dejanews.com/ Now offering spam-free web-based newsreading
--
~Cypher A.C.S. @Plymouth State
****--->finger cypher@mindwarp.plymouth.edu for pgp key<---****
"Any sufficiently advanced technology is indistinguishable from magic."
--Arthur C. Clarke
-----------------------------------------------------------------------
------------------------------
Date: 24 Jun 1998 23:58:28 -0400
From: Lloyd Zusman <ljz@asfast.com>
Subject: Re: Flames....
Message-Id: <ltu35a9lp7.fsf@asfast.com>
Eric Bohlman <ebohlman@netcom.com> writes:
> Lloyd Zusman <ljz@asfast.com> wrote:
>
> [ ... ]
>
> : Suitable response by the teachers in question:
>
> : [ ... etc. ... ]
>
> : Non-suitable response by the teachers in question:
>
> : [ ... etc. ... ]
>
> 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."
I totally agree with you that there are definitely more of the
responses I labeled as "Suitable" here than the others. I've been
addressing myself to the small minority of posters who make the
kinds of responses I have labeled as "Non-suitable".
And I thank you for bringing this up, because I have been lax in
expressing that I do very much applaud and appreciate the majority of
people here who do regularly give the former kinds of responses.
> : [ 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.
I know about the recent flies/honey/vinegar statements. But there
really was an analogy made here between newbies coming into c.l.p.m
and flies coming into ones home. Perhaps it was a
several-steps-removed followup to one of the vinegar/honey posts. At
any rate, here's the message reference. You should be able to find it
in Deja News:
Message-ID: <1db1r58.j940urt9g6bhN@bay1-172.quincy.ziplink.net>
--
Lloyd Zusman ljz@asfast.com
perl -e '$n=170;for($d=2;($d*$d)<=$n;$d+=(1+($d%2))){for($t=0;($n%$d)==0;
$t++){$n=int($n/$d);}while($t-->0){push(@r,$d);}}if($n>1){push(@r,$n);}
$x=0;map{$x+=(($_>0)?(1<<log($_-0.5)/log(2.0)+1):1)}@r;print"$x\n"'
------------------------------
Date: 25 Jun 98 04:15:21 GMT
From: c_lamson@oz.plymouth.edu (Cypher)
Subject: Re: Flames....
Message-Id: <3591ced9.0@news.plymouth.edu>
A little humility goes a long way. Experts were once newbies, newbies may
one day be experts. I will not hesitate to contribute informative posts
and well-thought-out questions, so that newbies and experts alike can
be satisfied. For now I'm content to lurk and learn.
--
~Cypher A.C.S. @Plymouth State
****--->finger cypher@mindwarp.plymouth.edu for pgp key<---****
"Any sufficiently advanced technology is indistinguishable from magic."
--Arthur C. Clarke
-----------------------------------------------------------------------
------------------------------
Date: Thu, 25 Jun 1998 00:18:41 -0400
From: rjk@coos.dartmouth.edu (Ronald J Kimball)
Subject: Re: Flames....
Message-Id: <1db5kif.1cqf6110dud3bN@bay2-19.quincy.ziplink.net>
[posted and mailed]
Lloyd Zusman <ljz@asfast.com> wrote:
> I know about the recent flies/honey/vinegar statements. But there
> really was an analogy made here between newbies coming into c.l.p.m
> and flies coming into ones home. Perhaps it was a
> several-steps-removed followup to one of the vinegar/honey posts. At
> any rate, here's the message reference. You should be able to find it
> in Deja News:
>
> Message-ID: <1db1r58.j940urt9g6bhN@bay1-172.quincy.ziplink.net>
And, once again:
I rephrased the statement to read "public meeting area" instead of
"home".
The characterization of newbies as flies was not mine; I took it from
the post I was responding to.
It was only an anology. I do not consider clpm to be "my home".
Here is the thought process behind that post. The discussion was on
newbies being annoying in clpm. I wanted to make an anology involving
flies (based on the previous poster's words). Where are flies annoying?
'In your home' was the first thing that came into my mind. The analogy
was just a way of making my point, that ignoring annoying newbies is not
likely to make them go away. Beyond that, you read entirely too much
into it. Don't take it so seriously.
Clear this time?
--
_ / ' _ / - aka - rjk@coos.dartmouth.edu
( /)//)//)(//)/( Ronald J Kimball chipmunk@m-net.arbornet.org
/ http://www.ziplink.net/~rjk/
"It's funny 'cause it's true ... and vice versa."
------------------------------
Date: 24 Jun 1998 22:25:59 -0700
From: Russ Allbery <rra@stanford.edu>
Subject: Re: Flames....
Message-Id: <m3ogvixdaw.fsf@windlord.Stanford.EDU>
Russ Allbery <rra@stanford.edu> writes:
> T Ames <ames0009@tc.umn.edu> writes:
>> Part of the problem here is that there are a group of Perl experts who
>> read this NG with no intention of ever asking questions of the group.
> This is a rather odd statement, as I immediately wonder who you're
> talking about. Obviously not Randal, not Tom, not the people most
> frequently complained about, as they answer questions repeatedly and
> routinely in this group.
Never mind. I obviously can't read. *wry grin*
--
#!/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: Thu, 25 Jun 1998 15:36:52 +1000
From: Stephan Carydakis <steph@hotkey.net.au>
Subject: Re: Flames....
Message-Id: <3591E1F4.6E8E@hotkey.net.au>
Tom Christiansen wrote:
>
> [courtesy cc of this posting sent to cited author via email]
>
> In comp.lang.perl.misc,
> Jonathan Feinberg <jdf@pobox.com> writes:
> :les@MCS.COM (Leslie Mikesell) writes:
> :You misspelled "infuriating." HTH.
>
> You put the period in the anti-hacker place. HTH.
>
> --tom
> --
> An Inteligent terminal is not a smart-ass terminal; it is one you can educate.
> --Rob Pike
hahahahahaha
------------------------------
Date: Wed, 24 Jun 1998 22:05:04 -0500
From: "Kenner" <kenner@DELETE.MExnet.com>
Subject: Re: foreach not reading array?
Message-Id: <6msi30$rpj$1@flood.xnet.com>
Michael S. Brito, Jr. wrote in message <35916147.460513C6@newfangled.com>...
># Grab all the addresses in the file "email.txt" and slap 'em in mem.
>$email = "email.txt";
>open(EMAIL,$email) or
> die "error opening $email: $!\n";
>@email = <EMAIL>;
>close(EMAIL);
I don't know if it's a potential problem source, but I noticed that you
never strip the newline (if there is one - sort of assuming that the e-mail
addresses are listed one-per-line) on the e-mail addresses. So, in the
following code:
>foreach $address (@email) {
> open (MAIL, "|$mailprog $address") || die "Cant open $mailprog: $!\n";
>print MAIL "From: mike\@newfangled.com\n";
>print MAIL "Reply-to: mike\@newfangled.com\n";
>print MAIL "Subject: Mailing List\n\n";
>print MAIL "$indata\n";
>close(MAIL);
>}
it appears to me that each iteration of the loop produces an $address that
actually contains the e-mail address followed by a newline (save for
potentially the last entry). I don't have enough experience or knowledge to
know whether that would interfere with printing to MAIL as you have defined
it here or not. I'm pretty new at this stuff, too - this is just something
I noticed. Tom Phoenix's reply will most likely lead you to the actual
answer.
Good luck!
--
Kenner
# If you want to send me e-mail, please remove the "DELETE.ME" from my
address. #
"I'm glad that I could help out my friend Stephen with his art." - Stuart
Davis
------------------------------
Date: Wed, 24 Jun 1998 21:11:19 -0700
From: "James Isaacson" <jcisaac@pacbell.com>
Subject: Re: Help with site command in NET::FTP
Message-Id: <6msijl$c72@gw.PacBell.COM>
I tried that to but the sleep does it's thing and then the text comes out,
I was wondering if it is somehow buffered.
Jim
Jeffrey Drumm wrote in message <35919219.884425056@news.mmc.org>...
>
>Can't you just sleep() for 5 seconds, then check $ftp->message?
>
------------------------------
Date: Thu, 25 Jun 1998 00:06:00 -0400
From: rjk@coos.dartmouth.edu (Ronald J Kimball)
Subject: Re: s/\s//g - causing strange result
Message-Id: <1db5jxv.1dgktiue6dk81N@bay2-19.quincy.ziplink.net>
[posted and mailed]
Colin Kilburn <ckilburn@nbnet.nb.ca> wrote:
> 309: $module_name =~ s/\s//g;
> DB<19> p $1 <<<<<< killed it
>
> DB<20> p $2 <<<<<< see what I mean, dead.
>
Of course it did. You just executed a pattern match with no capturing
parentheses. s/// sets $1, $2, ... in exactly the same way that m//
does.
Make sense?
--
_ / ' _ / - aka - rjk@coos.dartmouth.edu
( /)//)//)(//)/( Ronald J Kimball chipmunk@m-net.arbornet.org
/ http://www.ziplink.net/~rjk/
"It's funny 'cause it's true ... and vice versa."
------------------------------
Date: Thu, 25 Jun 1998 04:06:03 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: s/\s//g - causing strange result
Message-Id: <Pine.GSO.3.96.980624210045.10802K-100000@user2.teleport.com>
On Wed, 24 Jun 1998, Colin Kilburn wrote:
> 308: $library_dest =~ s/\s//g; <<<<<< do this
> DB<19> n
> Customer::Decode::SYSTRANS(/scratch/hck-dev-setup/lib/Customer/Decode.pm:309):
>
> 309: $module_name =~ s/\s//g;
> DB<19> p $1 <<<<<< killed it
The match variables ($1, $2, and so on) are set by any successful pattern
match. In this case, it looks as if your pattern matched, so those
variables are set (or cleared, depending on how you look at things).
If you'll be needing the contents of a match variable more than a couple
of lines after the pattern match, you should almost always copy it into
another variable. Otherwise, there's the risk that a line of code added in
between will change it, as this case showed.
Of course, instead of s/\s//g you could use the somewhat faster s/\s+//g.
Or even a form of tr///, which wouldn't affect the match variables. Hope
this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Thu, 25 Jun 1998 15:19:51 +1000
From: Stephan Carydakis <steph@hotkey.net.au>
Subject: Re: To be BIG or to be small ... that's my question
Message-Id: <3591DDF7.232D@hotkey.net.au>
Azman Shariff wrote:
>
> Hi!
>
> Okay here goes m silly question, and I hope i only get solving replies
> :)
>
> I am writing a search function and done with it.. but then the prob is
> say you type "Sea" it will search the exact case whcih i don't want it
> to be so. I wish to write an expression or a search module or function
> that will check and return ANY string that matches that be it in small
> case or anything.
Use the i modifier in your search(case insensitive). Page 69 of the
Camel.
Hope it helps
________________________________________
Stephan Carydakis stepg@hotkey.net.au
------------------------------
Date: Thu, 25 Jun 1998 16:28:42 +1000
From: Stephan Carydakis <steph@hotkey.net.au>
Subject: Re: To be BIG or to be small ... that's my question
Message-Id: <3591EE1A.48C6@hotkey.net.au>
OOPS.. did it again
my email should read steph@hotkey.net.au
------------------------------
Date: Thu, 25 Jun 1998 00:06:02 -0400
From: rjk@coos.dartmouth.edu (Ronald J Kimball)
Subject: Re: Usefulness of off-topic threads - split feelings
Message-Id: <1db5k3t.ebykm3ykdlgN@bay2-19.quincy.ziplink.net>
<birgitt@my-dejanews.com> wrote:
> These topics are *hellish off-topic and distracting* from the real
> thing c.l.p.m should be for. What do you make out of that ?
That's why there are all those other wonderful newsgroups out there!
> Do you want to get rid of all those subjects ? Would
> any such thread be imaginable in c.l.p.moderated ?
Personally, I don't want to get rid of them, I just want them to be
discussed in the appropriate newsgroups. The threads you mentioned
probably would not be allowed in clpmod, but for those specific threads
I do not see that as a bad thing.
--
_ / ' _ / - aka - rjk@coos.dartmouth.edu
( /)//)//)(//)/( Ronald J Kimball chipmunk@m-net.arbornet.org
/ http://www.ziplink.net/~rjk/
"It's funny 'cause it's true ... and vice versa."
------------------------------
Date: 25 Jun 1998 06:05:28 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: What a Crappy World (oh, yes!)
Message-Id: <6mspb8$ns7$1@marina.cinenet.net>
Russ Allbery (rra@stanford.edu) wrote:
[snip]
: [...] 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 have never advocated flaming based on formatting. Nor has anyone else
on the many threads involved in this discussion. How did you do in terms
of content in that first post? Was your post topical, did it show you had
done your homework before posting, and did it conform with basic
netiquette?
My assertion is that any reasonable person will, with no external
prompting, produce a first Usenet post which conforms closely enough to
the above standards to avoid serious flames. This is partly because no
reasonable person will post blindly to a newsgroup without reading it
first, just as I wouldn't walk into a room full of strangers conversing
with one another and start talking without listening for a while first.
If this assertion is true (which I admit is open to debate), then those
who post nonconforming posts are by definition unreasonable. Much like
children, such people must be actively subjected to civilization before
they can participate fully in society at large.
---------------------------------------------------------------------
| Craig Berry - cberry@cinenet.net
--*-- Home Page: http://www.cinenet.net/users/cberry/home.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
------------------------------
Date: 24 Jun 1998 23:19:25 -0700
From: Russ Allbery <rra@stanford.edu>
Subject: Re: What a Crappy World (oh, yes!)
Message-Id: <m3zpf2vw9e.fsf@windlord.Stanford.EDU>
Craig Berry <cberry@cinenet.net> writes:
> I have never advocated flaming based on formatting. Nor has anyone else
> on the many threads involved in this discussion.
Um, Craig, Tom *has* done that before. I even understand his points.
> How did you do in terms of content in that first post? Was your post
> topical, did it show you had done your homework before posting, and did
> it conform with basic netiquette?
It most certainly didn't conform with basic netiquette; the sig was too
long, it was badly miswrapped, and I quoted too much. It was at least
reasonably on-topic and semi-intelligent. For the most part. I was lucky
enough to run across a rec.* group first; were I posting to a comp.*
group, it was likely far below the reasonable standard in terms of
homework. It's easier to jump into a random rec.* group.
> My assertion is that any reasonable person will, with no external
> prompting, produce a first Usenet post which conforms closely enough to
> the above standards to avoid serious flames.
I don't believe this is correct, from experience, for those people who
don't lurk. Lurking is generally a personality thing; the most lip
service I've ever personally given to the standard "read this group for a
month before posting" is to read all of the existing backlog on my news
server (which is currently about three weeks).
> This is partly because no reasonable person will post blindly to a
> newsgroup without reading it first, just as I wouldn't walk into a room
> full of strangers conversing with one another and start talking without
> listening for a while first.
You're attributing more understanding to a first reading than I think is
often the case.
> If this assertion is true (which I admit is open to debate), then those
> who post nonconforming posts are by definition unreasonable. Much like
> children, such people must be actively subjected to civilization before
> they can participate fully in society at large.
I still think being polite is always a gain.
--
#!/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: 25 Jun 1998 00:22:38 -0400
From: Lloyd Zusman <ljz@asfast.com>
Subject: Re: What a Crappy World
Message-Id: <ltra0e9kkx.fsf@asfast.com>
Randal Schwartz <merlyn@stonehenge.com> writes:
> >>>>> "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. [ ... ]
I'd be willing to bet that a majority of people who come here asking
"newbie" sort of questions haven't even heard of
"news.announce.newusers" and don't know about this hanging out for a
week or two convention, despite all the good intentions and valiant
attempts to educate people about these things. If so, then perhaps
the first reply to a person posting a frequently asked question should
be to (politely!) refer them to n.a.n.
> [ ... ] Therefore, I have the right to
> presume that anyone that violates that plan is a child, and needs to
> be straightened out.
Of course you have the right to presume that or anything else. But if
your presumption is based upon a false premise (that most "newbies"
who post FAQ's here know about n.a.n and usenet conventions, and
therefore are behaving like recalcitrant children), then some people
may try to correct that false premise.
> I'm pretty quiet about it, but I do speak in defense of the others
> that do this.
My assumption is that you defend others who refer "newbies" to the FAQ
and the other docs in a straightforward, no-nonsense manner. I highly
doubt that your defense extends to those few who go out of their ways
to add one or more childish, gratuitous insults to these pointers to
the docs.
> Newbies can get questions answered, plainly. They just need to do
> some homework first.
>
> How hard can THAT be?
Not hard at all.
And I would add that regulars can choose to refer "newbies" to the
FAQ and docs in a polite and respectful manner.
How hard can THAT be?
Given that many regulars are already polite in referring the "newbies"
to the docs, I can confidently answer this question in the same way as
above: Not hard at all.
--
Lloyd Zusman ljz@asfast.com
perl -e '$n=170;for($d=2;($d*$d)<=$n;$d+=(1+($d%2))){for($t=0;($n%$d)==0;
$t++){$n=int($n/$d);}while($t-->0){push(@r,$d);}}if($n>1){push(@r,$n);}
$x=0;map{$x+=(($_>0)?(1<<log($_-0.5)/log(2.0)+1):1)}@r;print"$x\n"'
------------------------------
Date: Thu, 25 Jun 1998 00:26:14 -0500
From: Bryan Camp <b-camp@students.uiuc.edu>
To: trieger@hotmail.com
Subject: Re: What a Crappy World
Message-Id: <Pine.SOL.3.96.980625000720.5520A-100000@ux7.cso.uiuc.edu>
> Here are some great quotes from Olga Katzass in this thread:
Wow, Katzass...
I think your comment more than proves the point she's trying to make.
> ``I was just browsing this newsgroup and I noticed something that I would like
> to share with you all.''
>
> While browsing this newsgroup, she managed to find a bunch of rude replies.
> Not surprising, but what is surprising is that she could have found all of
> those replies without noticing the `Flames...' thread and she started this
> one which is running parallel to `Flames...' now.
Judging from your response, Olga didn't start anything.
Rather, she made a valid point.
> ``I've spoken to several different people who over the last few days have
> come to despise the name Tom Christiansen and they vouch to never invest any
> money in his books because he was so insulting and rude to them.''
>
> A minute ago she was just browsing this newsgroup, but now she has ``spoken''
> to not only one but several people that have been flamed by Tom C. and will
> not buy the best books out because Tom hurt their lazy, little feelings. Boy,
> this chick gets around.
Hmmm...maybe she "spoke" to these people prior to browsing the newsgroup.
BTW, what do you mean, exactly, when you refer to feelings as being 'lazy'
and 'little'?
> ``I buy books to educate myself as well, I believe most people do that, but I
> refuse to buy books that demonstrate my support for authors who can not even
> properly answer a question, without insults.''
>
> How many authors has she asked questions of? How does shew know her favorite
> authors will answer stupid questions without insults?
>
> ``And more then half of Mr. Christiansen's posts were offensive, and I am sure
> that the private e-mails he sends to these peoplem are no less insulting.''
>
> Once again, she managed to read all of Tom's posts but missed the `Flames...'
> thread altogether.
>
> ``I am just saying that you are offending many people and I've spoken to
> quite a few that just don't appreciate the insulting replies they get from
> you.''
>
> Oh look, she speaking to more people. She fails to mention how many of these
> people she ``spoke to'' told her that they didn't mind Tom's replies and
> actually learned from them.
>
> ``I didn't think I could do CS because I felt I was not intelligent enough.''
>
> I whole-heartedly agree with her on this one.
Maybe I'm just missing the transition here. What, if any, basis do
you have in agreeing the she is not intelligent enough to
get a CS degree? Talk about twisting words. Are you familiar
with any of her programming skills?
Once again, Olga clearly proved her point that people like you
completely discourage persons from using this newsgroup.
> -----== 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 06:26:05 GMT
From: tshiono@cv.sony.co.jp
Subject: Re: What does this error mean?
Message-Id: <6msqht$np$1@nnrp1.dejanews.com>
In article <3590d4a5.449015@news.telebyte.nl>,
JKraaijeveld@askesis.nl (Joost Kraaijeveld) wrote:
: I have a simple script that return this error if run on a UNIX
: commandline:
:
: Can't find string terminator "EOF" anywhere before EOF at file.pl line
: 12.
[...]
: On Windows NT all is fine
Your script may be written in MS-DOS; that means it contains
0x0d as the newline. Replace "0x0d0x0a" with "0x0a" and try again.
-----== 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 04:07:07 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: What module to download a gif?
Message-Id: <Pine.GSO.3.96.980624210628.10802L-100000@user2.teleport.com>
On Thu, 25 Jun 1998, it was written:
> open (OUT, ">nastychickpic.gif");
Even when your script is "just an example" (and perhaps especially in that
case!) you should _always_ check the return value after opening a file.
Thanks!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
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 2974
**************************************