[12935] in Perl-Users-Digest
Perl-Users Digest, Issue: 345 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Aug 3 03:07:48 1999
Date: Tue, 3 Aug 1999 00:05:07 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Tue, 3 Aug 1999 Volume: 9 Number: 345
Today's topics:
[offtopic]RE:Quot St and the Jeop Gm llornkcor@my-deja.com
[was]Re: reg expression llornkcor@my-deja.com
Re: Announcement: "CRAP" <gisle@aas.no>
Re: Announcement: "CRAP" (Abigail)
Re: Creating new files and directories <nospam.newton@gmx.net>
Re: How can I know what modules are installed on server (Abigail)
Re: How do i append the beginning of a HTML file? urb123@my-deja.com
Re: How to access only last field of a split ? urb123@my-deja.com
Re: how to remove cr/lf ??? <nospam.newton@gmx.net>
Newbie Q: Removing files from a folder <andrewf@beausys.freeserve.co.uk>
Re: Perl or CGI (CGI)
Re: Perl or CGI (CGI)
Re: Printing lines BTW two strings in file (NOT!) <nospam.newton@gmx.net>
Re: Reading group of files as One ? (Abigail)
Re: Whitespace (Abigail)
Re: Why no Perl books at Fry's? (Abigail)
Win32 version of "sendmail" for use with Perl? <dtonks@sunstorm.com>
Digest Administrivia (Last modified: 1 Jul 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Tue, 03 Aug 1999 05:31:26 GMT
From: llornkcor@my-deja.com
Subject: [offtopic]RE:Quot St and the Jeop Gm
Message-Id: <7o5ure$s99$1@nnrp1.deja.com>
From Webster's Revised Unabridged Dictionary (1913) (web1913)
Condescend \Con`de*scend"\, v. i. [imp. & p. p. {Condescended}; p.
pr. & vb. n.
{Condescending}.] [F. condescendre, LL. condescendere, fr.
L. con- + descendere. See {Descend}.]
1. To stoop or descend; to let one's self
down; to submit; to waive the privilege of rank or dignity; to
accommodate one's self to an inferior. ``Condescend to men of low
estate.'' --Rom.
xii. 16.
Can they think me so broken, so debased With corporal servitude, that
my mind ever
Will condescend to such absurd commands? --Milton.
Spain's mighty monarch, In gracious clemency, does condescend, On
these conditions,
to become your friend. --Dryden.
>>>>***This is the important part, Tom...***<<<<
NOTE: Often used ironically, implying an assumption of superiority.
Those who thought they were honoring me by condescending to address a
few words to
me. --F. W. Robinson.
2. To consent. [Obs.]
All parties willingly condescended heruento. --R. Carew.
Syn: To yield; stoop; descend; deign; vouchsafe.
From WordNet (r) 1.6 (wn)
condescend v 1: behave in a patronizing and condescending manner 2:
do something
that one considers to be below one's dignity [syn:
{deign}, {descend}] 3: act in an undignified or dishonorable way; "I
won't stoop to
this" [syn: {stoop}, {lower oneself}] 4: treat condescendingly
[syn: {patronize}]
In article <37a633ad@cs.colorado.edu>,
tchrist@mox.perl.com (Tom Christiansen) wrote:
> The following message will be posted periodically until observed
> clue-levels in these parts improve, or until the heat death of the
> Universe arrives.
>
> EXECUTIVE SUMMARY:
> To send better messages, please trim and summarize what you're
> replying to, and integrate your quoted text with the body of your
> message. Don't just put everything at the end. This isn't
Jeopardy.
> People expect question-and-answer, not answer-and-question
responses.
>
> LONG STORY:
>
> Wouldn't you like to make your messages easier for others to read and
> understand? If so, I have some news posting tips for you. If not,
No
> just ignore this. (Of course, if you don't want your messages
> easier to read and understand, it's not clear why to bother to
> send them in the first place. :-) I'm going to take a bit of
> time to explain this, because newcomers to Usenet often lack the
> cultural background were I to send a superbrief message.
>
> Here's the issue: you appear to have quoted the entire message to
which
> you were replying. Worst of all, you have done so by merely appending
> the complete message at the bottom. Folks are used to reading the
> original material first, then the follow-up. That's why it's called a
> "follow-up", you know. :-)
well, I happen to like the reply at the top, followed by the quote.
>
> If all you want to do is forward a copy of the message, that's one
thing,
> but here you seem to have just blindly pasted the complete old message
at
> the end without providing any content. This is neither a proper
public
> followup nor even a decent private reply. Here's why.
>
> First of all, this is massive overkill -- you're supposed to trim your
> quoted text to only what you're replying to. Otherwise you'll
probably
> violate the netiquette target quoting percentage of 50%. See below.
> This isn't really an issue of space (I know that a few bytes here and
> there mean less today than 20 years go), so much as it is of
integrating
> your comments with the old material for continuity.
>
> Second, putting everything at the bottom does little good. It doesn't
> provide the proper context. It's far too late. When you reply to
> someone's content, the reason you quote the previous message is so
that
> you can provide some degree of contextual continuity. The best way to
> do this is to interleave what you're quoting with your responses to
that
> particular piece. That means that you should provide a quoted
portion,
hmm really, I suppose you found this, then?
> then address what the points therein, then another quoted section,
etc.
>
> For example, here's how followup replies *should* look if you'd
> like them to be more effective.
>
> > Joe said we should eat noodles.
>
> But I don't like noodles. They are a pain to prepare -- remember
> that what started this thread was how to cook using only a
microwave,
> not real cooking -- and they provide you with very little
sustenance
> in the long run. It's like eating cardboard, nutritionally
speaking.
>
> > He also suggests adding anchovies.
>
> What is this fish fetish? Not all of us like the little minnows
> with the lingering briny taste swimming around our mouths for the
> next few hours or days. Can you imagine this on a date? Iccccch!
>
> Notice how in the text above, alternate quoted passages are
interleaved
> with new response text. Notice also that the new text far exceeds the
> old text. This is the way it should be.
>
> If you are receiving this message in response to a news posting,
please
> understand that all modern newsreaders provide a mechanism to fetch
> the parent article, so it is seldom necessary to quote the whole
thing.
so what...
> Sometimes even mail readers provide this, depending on the mail
headers
> and the list archival mechanism on your own system.
>
> Here's a section from the essential netiquette guide, "A Primer
> on How to Work With the Usenet Community", which is available in
> news.announce.newusers. Perhaps your service provider neglected to
point
> you at this newsgroup before you got swallowed up by all of Usenet.
> It's not only a good read; it's critical to understanding the culture
> you're now moving in.
>
> Summarize What You are Following Up.
>
> When you are following up someone's article, please summarize the
> parts of the article to which you are responding. This allows
readers
> to appreciate your comments rather than trying to remember what the
> original article said. It is also possible for your response to get
> to some sites before the original article.
>
> Summarization is best done by including appropriate quotes from
> the original article. Do not include the entire article since it
> will irritate the people who have already seen it. Even if you are
> responding to the entire article, summarize only the major points
you
> are discussing.
>
> It's even more annoying when people needlessly quote the original's
> automatic trailing matter, like signatures, adverts, or disclaimers.
> Please don't do that.
so sue me
>
> I'm honestly not trying to annoy you! I'm just trying to give tips
> about what works well in electronic messages, and what doesn't. This
> used to be standard fare before one got a Usenet account, but now
> something seems to be lost.
> --
> There is always a better way.
> -- Thomas Edison
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: Tue, 03 Aug 1999 06:12:47 GMT
From: llornkcor@my-deja.com
Subject: [was]Re: reg expression
Message-Id: <7o618q$tpa$1@nnrp1.deja.com>
and I wonder how many people have come here, seeking knowlege about
perl, and asked a simple question, and have gotten back some rude
non-answer from the 'regulars'? I suppose you all teach someone to ride
a bike by saying 'read the FAQ'? Now, Tom, and any other 'regular' who
provide snide answers here, I have seen your script work, and I admire
it. But nowhere else on any newsgroup, have I seen such ridicule for
newbies, and their questions. All I am asking anyone here, is if you
read a post that is, to you, a stupid question, and you don't have an
answer..('read the FAQ'- is a non-answer) DON'T reply...
In article <37a63e04@cs.colorado.edu>,
tchrist@mox.perl.com (Tom Christiansen) wrote:
> [courtesy cc of this posting mailed to cited author]
>
> In comp.lang.perl.misc, llornkcor@my-deja.com writes:
> :Thank you for your kind reply, it is appreciated
>
> Your 61 lines of needlessly quoted Jeopardy material were not
appreciated.
> You're bucking convention here, kid. If you piss off the regulars,
> you'll never get any help around here.
>
> --tom
> --
> "Twisted cleverness is my only skill as a programmer." --Elizabeth
Zwicky
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: 03 Aug 1999 08:27:00 +0200
From: Gisle Aas <gisle@aas.no>
Subject: Re: Announcement: "CRAP"
Message-Id: <m3u2qhz8ej.fsf@eik.g.aas.no>
abigail@delanet.com (Abigail) writes:
> && Ahem! <URL:http://www.pobox.com/~japhy/perl/crap/>
>
> Ahem! <URL:http://www.pobox.com/%7Ejaphy/perl/crap/>
RFC 2396 made ~ unreserved. No need to escape it.
| 2.3. Unreserved Characters
|
| Data characters that are allowed in a URI but do not have a reserved
| purpose are called unreserved. These include upper and lower case
| letters, decimal digits, and a limited set of punctuation marks and
| symbols.
|
| unreserved = alphanum | mark
|
| mark = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")"
|
| Unreserved characters can be escaped without changing the semantics
| of the URI, but this should not be done unless the URI is being used
| in a context that does not allow the unescaped character to appear.
[...]
| The tilde "~" character was added to those in the "unreserved" set,
| since it is extensively used on the Internet in spite of the
| difficulty to transcribe it with some keyboards.
--
Gisle Aas
------------------------------
Date: 3 Aug 1999 02:00:55 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Announcement: "CRAP"
Message-Id: <slrn7qd4s4.rb1.abigail@alexandra.delanet.com>
Gisle Aas (gisle@aas.no) wrote on MMCLXIII September MCMXCIII in
<URL:news:m3u2qhz8ej.fsf@eik.g.aas.no>:
,, abigail@delanet.com (Abigail) writes:
,,
,, > && Ahem! <URL:http://www.pobox.com/~japhy/perl/crap/>
,, >
,, > Ahem! <URL:http://www.pobox.com/%7Ejaphy/perl/crap/>
,,
,, RFC 2396 made ~ unreserved. No need to escape it.
True, due to the sillyness of NCSA and lusers not able to grasp the
concept of escaping. But there was good reason RFC 1738 forbid the use
of ~. Ever seen a ~ in, say, a newspaper? Did it look like one?
,, | The tilde "~" character was added to those in the "unreserved" set,
,, | since it is extensively used on the Internet in spite of the
,, | difficulty to transcribe it with some keyboards.
Wimps. I don't really fancy RFCs that favour "common practise" over
"common sense".
Abigail
--
perl -e '* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
% % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %;
BEGIN {% % = ($ _ = " " => print "Just Another Perl Hacker\n")}'
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: Tue, 03 Aug 1999 07:59:57 +0200
From: "Philip 'Yes, that's my address' Newton" <nospam.newton@gmx.net>
Subject: Re: Creating new files and directories
Message-Id: <37A6855D.9E318708@gmx.net>
Tad McClellan wrote:
>
> James Williamson (james.williamson@bbc.co.uk) wrote:
>
> : You'll find that if the file doesn't exist Perl will create one for
> : you.
>
> Now _that_ part is very helpful. Thanks.
He didn't say what happens whan the file *does* exist -- that it will be
overwritten. I think that would be useful to know for the person who
really wanted "+<" or ">>" rather than ">". But R'ing TFM would have
told him that. (I concede that the subject line talks about "creating
new files", but still. He should know that he may inadvertently clobber
existing files if he makes a mistake in the choice of name for his "new
file".)
Cheers,
Philip
------------------------------
Date: 3 Aug 1999 01:03:57 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: How can I know what modules are installed on server?
Message-Id: <slrn7qd1h8.rb1.abigail@alexandra.delanet.com>
99% Energy (Spam@IsBadForTheInternet.com) wrote on MMCLXIII September
MCMXCIII in <URL:news:iwtp3.856$k8.40426@newscene.newscene.com>:
== > RTFFAQ.
==
== Which of all, there are so many.
All of them.
And stop putting your reply before the quote. And don't quote the entire
article, including sig and advertisement. Only quote the part you are
reacting to.
Otherwise, you look like a brainless moron.
Abigail
--
perl -MNet::Dict -we '(Net::Dict -> new (server => "dict.org")
-> define ("foldoc", "perl")) [0] -> print'
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: Tue, 03 Aug 1999 05:47:40 GMT
From: urb123@my-deja.com
Subject: Re: How do i append the beginning of a HTML file?
Message-Id: <7o5vpq$so6$1@nnrp1.deja.com>
In article <7o2lfn$3v1$1@apple.news.easynet.net>,
"matt saunders" <nfs@ukonline.co.uk> wrote:
> I've not been using perl for long at all and
i've been desperately seeking
> the source code for a CGI to append the
beginning of a file. I was
> wondering if any of you (obviously knowledgable)
people could reply with the
> source code. I'd be eternally grateful.
If I understand your question, you have a flat
file with two lines:
line one
line two
You now want to add a third line but you want it
at the beginning of the file so the final form is
line three
line one
line two
If that's the case, open the file as read write:
open(TEMP,"+<$FileName");
@Array = <TEMP>;
seek (TEMP,0,0);
truncate (TEMP,0);
print TEMP "line three";
print TEMP @Array;
close (TEMP);
Urb LeJeune
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: Tue, 03 Aug 1999 05:50:33 GMT
From: urb123@my-deja.com
Subject: Re: How to access only last field of a split ?
Message-Id: <7o5vv6$sqa$1@nnrp1.deja.com>
In article <01bedc97$7a0d0a80$f34f39cb@stingray>,
"John Hennessy" <john@hendigital.com.au> wrote:
> Hi, I am wanting to access only the last field of a split line.
> Is there a quick way of doing this keeping in mind I won't know
> how many fields will be returned in the line.
>
> Example line...
>
$Temp = "word.10.word.20.30.40.50";
(@Array) = split(/\./,$Temp);
$Last = $Array[$#Array];
$#Array contains the highest subscript used in the array.
Urb LeJeune
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: Tue, 03 Aug 1999 08:03:02 +0200
From: "Philip 'Yes, that's my address' Newton" <nospam.newton@gmx.net>
Subject: Re: how to remove cr/lf ???
Message-Id: <37A68616.88157AFE@gmx.net>
elephant wrote:
>
> Dan Wilga writes ..
> >(This assumes your machine treats \n as CR-LF. This is the case if
> >you're on a PC.)
>
> a PC ? .. so you mean if I run Linux or NT on my PC then my line
> endings are still the same as DOS ?
If you run NT, then yes. Of course. NT, Win9* and DOS all use crlf for
line endings. Linux (and (?:Free|Net)BSD, BSD386, Solaris, AIX, etc.)
don't; they use lf only. (Yes, there was an AIX for IBM's PS/2
machines.)
Cheers,
Philip
------------------------------
Date: Tue, 3 Aug 1999 07:55:09 +0100
From: Andrew Fry <andrewf@beausys.freeserve.co.uk>
Subject: Newbie Q: Removing files from a folder
Message-Id: <kfFGyBANJpp3EwZR@beausys.freeserve.co.uk>
I want a little utility that will tidy up various Win95/WinNT
folders for me ... deleting ALL files or only those with a
specific extension. I wrote the following, but it doesnt
seem to be working properly ... any ideas ???
Notes:
* ClearFolder does the tidying within a directory,
TodyForWin32 shows some calls to it.
* I commented-out the unlink call deliberately, until
the file list appears to look OK!
* I tried the glob mechanism, but this doesnt like
the spaces in one of the folder names. Even if I use
'\ ', then the filelist still doesnt seem OK.
#----------------------------------------
# ClearFolder - clear out a folder
#
# Arguments: Arg[0] = folder name
# Arg[1] = filename extension (optional)
#----------------------------------------
sub ClearFolder
{
my $foldername = $_[0];
my $extension = $_[1];
my $myext = '*'; # extension to be used, default value
my @filelist = ();
my $numfound = 0;
my $numdeleted = 0;
# check if folder exists...
if ($verbose)
{
print "ClearFolder: Checking $foldername...\n";
}
if (-d $foldername)
{
# get list of files in folder...
if (defined ($extension))
{
$myext = $extension;
}
#@filelist = glob("$foldername/*.$myext");
#@filelist = <$foldername/*.$myext>;
if (opendir(DIR,$foldername))
{
@filelist = grep { /\.$myext$/ } readdir(DIR);
closedir(DIR);
$numfound = $#filelist;
if ($numfound > 0)
{
print @filelist;
}
# delete files...
# $i = unlink(@filelist);
print "Folder: $foldername, file [*.$myext], found $numfound,
deleted $numdeleted.\n";
}
}
}
#----------------------------------------
# TidyForWin32 - tidy up for Win32 (Win95/98/NT)
#
# Arguments: None
# Returns : 1 (OK), 0 (error)
#----------------------------------------
sub TidyForWin32
{
# clear out temporary folders...
ClearFolder("C:/Temp");
if (-d "C:/Windows")
{
ClearFolder("C:/Windows/Temp");
ClearFolder("C:/Windows/Temporary Internet Files");
# delete image files in "Recent" folder...
ClearFolder("C:/Windows/Recent","gif");
ClearFolder("C:/Windows/Recent","jpg");
ClearFolder("C:/Windows/Recent","mpg");
ClearFolder("C:/Windows/Recent","avi");
}
}
---
Andrew Fry
"Time flies like an arrow. Fruit flies like a banana". (Groucho Marx).
------------------------------
Date: Tue, 03 Aug 1999 05:45:23 GMT
From: PerlCoder@Unix.com (CGI)
Subject: Re: Perl or CGI
Message-Id: <37aa7ead.188415853@news.giganews.com>
On Tue, 3 Aug 1999 02:46:19 +0200, "Emulov" <emulov@NOSPAMsin.khk.be>
wrote:
>I'm thinking of learning Perl or CGI. But I don't have a clear idea of
>what's the difference between them. If I want to write a program that takes
>form input on my website and write that to some other file, on the server
>(UNIX), what do I use best?
CGI is not a language. It's the protocol that lets your web page send
information to programs that run on your web server and vice versa.
Programs that you write which involve such communication are called
CGI programs. You can use a lot of different languages to do such
programs, but I think the best is Perl, because I think it's the best
suited to this purpose and is widely used.
I went to www.virtualave.net because they are a free web server that
gives you CGI access. The only language they support is Perl, so I
didn't really have a choice to use another language. However, they
probably picked Perl for good reasons, so I think it's a good choice
for me too. Also, I noticed there are a lot of messages on this
newsgroup, so I figure a lot of people are using Perl.
------------------------------
Date: Tue, 03 Aug 1999 05:59:49 GMT
From: PerlCoder@Unix.com (CGI)
Subject: Re: Perl or CGI
Message-Id: <37ac83fe.189776116@news.giganews.com>
On 2 Aug 1999 22:32:48 -0500, abigail@delanet.com (Abigail) wrote:
>|| If I want to write a program that takes
>|| form input on my website and write that to some other file, on the server
>|| (UNIX), what do I use best?
>
>Python.
>
>Abigail
That's a very flippant answer from you, which is typical. It seems
like you have nothing better to do than write smart alec responses to
newbies. One time I checked and literally 20 percent of the messages
on this newsgroup were from you.
Maybe in some ways, Python is better than Perl. But Perl is what
people are using and Perl is what's on a lot of web servers, not
Python. I haven't seen Python mentioned in any job ads. Also,
processing a form is a pretty simple task. I don't think you'd
particularly need Python for it.
Your answer was like recommending someone learn Esperanto instead of
English.
------------------------------
Date: Tue, 03 Aug 1999 07:49:58 +0200
From: "Philip 'Yes, that's my address' Newton" <nospam.newton@gmx.net>
Subject: Re: Printing lines BTW two strings in file (NOT!)
Message-Id: <37A68306.88482051@gmx.net>
David Cassell wrote:
>
> Philip 'Yes, that's my address' Newton wrote:
> >
> > Just parroting something I (thought I) read in _Mastering Regular
> > Expressions_. Never actually compared the speed myself.
>
> Been there, done that, had the t-shirt chewed right off my back.
> :-)
>
> I read the same book, and found that some of the stuff I learned
> wasn't true after 5.003 .
Do you remember any specific examples?
> Hmmm. The nerve of some people,
> learning by experience and improving the product based on
> enlightened feedback.
Yes, I think I remember once or twice spotting a point in the book along
the lines of "wouldn't it be nice if Perl had X" and knowing that Perl
did *indeed* have X in the newest versions. Don't remember which points
that were, though.
Cheers,
Philip
------------------------------
Date: 3 Aug 1999 01:09:16 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Reading group of files as One ?
Message-Id: <slrn7qd1r9.rb1.abigail@alexandra.delanet.com>
Steve (itc@cloudnet.com) wrote on MMCLXIII September MCMXCIII in
<URL:news:nxup3.70$H_3.7861@ptah.visi.com>:
## I tried
##
## open(RES, " *.res") or die "Can't open results: $!/n";
##
## to read all files ending with .res
## Obviously this did not work.
##
## Is there anyway I can avoid hardcoding the file names in the
## program and also avoid manually cycling through each
## file ?
glob
Abigail
--
perl -wle\$_=\<\<EOT\;y/\\n/\ /\;print\; -eJust -eanother -ePerl -eHacker -eEOT
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: 3 Aug 1999 01:11:03 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Whitespace
Message-Id: <slrn7qd1uk.rb1.abigail@alexandra.delanet.com>
Joan Richards (richj@home.com) wrote on MMCLXIII September MCMXCIII in
<URL:news:37A5E9A8.D65F7138@home.com>:
"" At a prompt in my script, I don't want the user to be able to type in an
"" input that contains more than one word. Now this word can be comprised
"" of upper/lower case letters and number, but nothing else. So, foobar is
"" valid, but foo bar is invalid. So is "foobar" is invalid.
""
"" Now, the user can type in anything they want, however, I want to give
"" them the finger if they input something bad.
Well, yes. But what is your question?
Abigail
--
perl -we 'print split /(?=(.*))/s => "Just another Perl Hacker\n";'
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: 3 Aug 1999 01:39:51 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Why no Perl books at Fry's?
Message-Id: <slrn7qd3kh.rb1.abigail@alexandra.delanet.com>
CGI (PerlCoder@Unix.com) wrote on MMCLXIII September MCMXCIII in
<URL:news:37a85785.178389453@news.giganews.com>:
{}
{} I went to Fry's Electronics. They have a large selection of computer
{} books, bigger than places like Crown and Barnes & Noble.
It's not the size that counts.
{} I saw lots of
{} books on Java, C++, HTML, MCSE, etc. but I couldn't find anything on
{} Perl. So how should one interpret this situation? Does it mean people
{} are unaware of the importance of Perl?
You don't think like a book seller. The book seller doesn't care whether
Perl is important or not. The book seller does care how many books
he can sell. Go to any book shop, and you'll see that the "computer"
section is usually stuffed with popular and overrated things as HTML,
O'Reilly's zoo, how to use Netscape, and Windows for dummies. Try to
find a real important book, like "The Art of Computer Programming" or
something from the grey wall. Often, they won't even have it. Hyped,
overrated stuff sells. The occasional sell of a real book doesn't pay off.
{} Isn't Perl more widely used and
{} more important for web sites than Java?
Perl and Java tend to fill different niches when it comes to web. While
Perl does mainly server side tasks, Java tends to be client side oriented,
although it does it share on the server side as well.
{} Or is Perl used less than I
{} thought?
I dunno. How much do you think Perl is used?
{} Why so many books on Java?
Because it sells. People buy it. Do you really think book keepers would
have large sets of books about Java if they couldn't sell it? They aren't
fools.
{} Java is so slow and such a
{} resource hog that I would be disinclined to use it.
But the book seller doesn't care. He sells books. And he sells as happily
a book about Ferrari's as about Fords, even if a Ferrari is faster.
{} So far, the only
{} good application I've seen for Java is online board games such as
{} Chess, which don't require speed.
Chess does not require speed? Tell that the guys at IBM...
{} If you want an online game that
{} requires speed, such as something like Quake or a fighting game like
{} Tekken, there's no way you could use Java. It'd be the worst thing
{} ever. And people thought interpreted Basic was slow!
But there is more than online games.... Of course, our book seller will
happily sell you a book about online games....
If you want Fry Electronics to carry Perl books, ask them. Order Perl
books via them. Get your friends to order Perl books as well. If you
have enough frieds ordering Perl books, and the book keeper isn't a
fool, he will start carrying Perl books.
Abigail
--
perl -we '$@="\145\143\150\157\040\042\112\165\163\164\040\141\156\157\164".
"\150\145\162\040\120\145\162\154\040\110\141\143\153\145\162".
"\042\040\076\040\057\144\145\166\057\164\164\171";`$@`'
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: Tue, 03 Aug 1999 05:18:01 GMT
From: "Daniel Tonks" <dtonks@sunstorm.com>
Subject: Win32 version of "sendmail" for use with Perl?
Message-Id: <dYup3.5000$B5.55388@news1.rdc1.bc.home.com>
I have a few Perl programs I'm trying to get working under a Win32s
environment, however I don't want to modify them much since they will also
be operating under Linux & BSDI. The scripts work just fine, however I
cannot locate a version of sendmail that is functionally identical to the
one included with most unix systems. It needs to work the same way - "open"
sendmail, "print" the message to it, then "close" to send. Any ideas?
- Daniel Tonks
dtonks@sunstorm.com
------------------------------
Date: 1 Jul 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 1 Jul 99)
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 V9 Issue 345
*************************************