[11444] in Perl-Users-Digest
Perl-Users Digest, Issue: 5044 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Mar 3 11:07:24 1999
Date: Wed, 3 Mar 99 08:00:17 -0800
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Wed, 3 Mar 1999 Volume: 8 Number: 5044
Today's topics:
Re: *** FAQ: ANSWERS TO YOUR QUESTIONS! READ FIRST! Pos (I R A Aggie)
Re: *** FAQ: ANSWERS TO YOUR QUESTIONS! READ FIRST! Pos (I R A Aggie)
Re: *** FAQ: ANSWERS TO YOUR QUESTIONS! READ FIRST! Pos (Malcolm Ray)
Re: *** FAQ: ANSWERS TO YOUR QUESTIONS! READ FIRST! Pos <Philip.Newton@datenrevision.de>
Re: -- # -*-Perl-*- in perl script (I R A Aggie)
Re: -- # -*-Perl-*- in perl script (Steve Linberg)
Re: flock (Randal L. Schwartz)
Re: How does one 'tie' a db file to a hash' <paxtond@ix.netcom.com>
Re: I'm looking for a good code editor for PERL for Win (Clay Irving)
Re: I'm looking for a good code editor for PERL for Win (Jonathan Stowe)
Re: Inserting a 'newline' in arrays? (Greg Bacon)
PerlScript locking up MS Access file brian_smith@sonat.com
Problem with readdir and sub directories pault2000@my-dejanews.com
Re: Problem with readdir and sub directories <Tony.Curtis+usenet@vcpc.univie.ac.at>
Question on NET::POP3 (Robert Saunders)
Re: The truth about the Pentium III chip and ID --- **b <mtr@ottawa.com>
There seems to be running another CPAN process (5919). <joe@nall.com>
Re: Tom, where are the FAQ'lets ??? <droby@copyright.com>
Re: URGENT! Where Do You Hide The CGI Cards From The Sp (Greg Bacon)
Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 3 Mar 1999 14:28:29 GMT
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: *** FAQ: ANSWERS TO YOUR QUESTIONS! READ FIRST! Posted Twice Weekly ***
Message-Id: <slrn7dqht7.ppl.fl_aggie@enso.coaps.fsu.edu>
On Wed, 3 Mar 1999 12:39:01 +0000, Andrew Fry
<andrewf@beausys.demon.co.uk> wrote:
+ All I said was that I find it irritating and patronizing to be
+ constantly told what I should be reading. I dont tell you how
+ to spend your time, so dont tell me how to spend mine.
Fine. Then don't ask questions, and I won't tell you where you
can look up the information and read more about it.
+ 1. I have never come across another newsgroup where the RTFM
+ remark is used so frequently.
Have you come a across with such a rich docset, both of the language
itself (well over 1000 pages of printed text), and in the FAQ document?
+ of the experts by posting trivial questions that are answered
+ in the documentation.
*If* the answers are in the documentation, why the questions being posted
here?
+ 3. I have had e-mails from other newbies who have been "put off"
+ using the newsgroup because of this elitist view and remarks
+ made to them.
Why should I spoon feed 'newbies' who can't be bothered to do their
own leg work?
+ Well, thats my view, and I have a right to express it.
Yes, you do. That doesn't mean that your view, or even your understanding
of the situation, is correct.
James
------------------------------
Date: 3 Mar 1999 14:36:28 GMT
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: *** FAQ: ANSWERS TO YOUR QUESTIONS! READ FIRST! Posted Twice Weekly ***
Message-Id: <slrn7dqic7.ppl.fl_aggie@enso.coaps.fsu.edu>
This is for Mr. Fry and all the other 'newbies' who get their noses all
out of joint when they get told to read something...and yes, I'm asking
you to read this. A repost from 3+ years ago.
James
-------begin repost---------
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: Questions are incoherently phrased. Questions have the form `my
code doesn't work' and don't include the code. Questions include the
code, and it's 200 lines long, and comp.lang.perl is not a debugging
service. Nobody knows the answer to the question. The question is so
badly punctuated that nobody can bear to read it. Questions aer
written by a non-native speaker of English and the native speakers who
are trying to understand it can't. (That's a shame, but it does
happen. I often wish that these people would post in their native
languages. I'd love to see more discussion in languages other than
English. Some Dutch guy tried posting all his comp.lang.c articles in
Dutch a few years ago, and all the Americans flamed him. How
humiliating for me!)
Apart from these oft-mentioned reasons are many others that are
not so often discussed, because anyone who tries to bring them up gets
flamed. But it's the truth: I know the reason I don't answer more
questions is because so many of them questions are so damn stupid.
They're stupid in a lot of different ways, but they're still stupid.
I don't want to suggest that that's why your questions go unanswered.
I don't know what you're asking. No doubt the reason your questions
go unanswered is because they're so deep and interesting that nobody
really knows the answer.
The most common stupid question is the one from someone who has
some high-level problem that they need solved. They have an idea that
they'd like to do it in perl, and they don't really know perl. So
instead of learning perl, they post to comp.lang.perl.misc.
Now don't get me wrong. I don't have any problems answering the
questions of someone who's trying to learn perl. I love THOSE
qusetions. But these people don't seem to be asking useful questions
for that.
Today, for example, I saw a question from a guy who wants to get a
list of hostnames out of nslookup. `How do I do that?' he says. And
it's hard to know what to make of that. What does he mean? Does he
not know how to open a pipe? Is his `open' command failing? What's
going on here? I can't give a useful answer without understanding the
problem. Having your `open' fail is a problem. Wanting to list
hostnames is not a problem; it's a desire.
Here are some similar questions that would have made more sense to me:
1. ``I'm a lazy asshole and I can't be bothered to learn to
program myself, but I know if I post here you'll give me
something for free.''
(OK, fair enough. At least I can send him a rate card.)
2. ``I'm trying to use `open' to talk to nslookup, but...
...here's my code; what's wrong?''
(Good question.)
3. ``I know perl has a `system' command for running programs,
but I can't see how to get my commands into nslookup
once I have run it.''
(Good question.)
4. ``I'm trying to use `getprotobynumber' to talk to nslookup...''
(Good question.)
See, I'm not just biting people's heads off, here. #4 is a good
question, because it gives me something to work with. OK, he has a
very weird idea about interprocess communication, but that's
ignorance, and that's what we're here to correct. He doesn't know
about `open'; I can refer him to the manual.
Here's another example: Some guy wants to assemble a list of email
addresses . ``How do I do that?'' he wants to know. Well, duh. Get a
big pad of paper and read news for a couple days and write down all
the addresses you see. Problem solved. What's it doing in
comp.lang.perl?
Oh, you wanted to do it in perl. Well, I guess I'd open a socket
to the NNTP server and send it some XHDR commands for the `From'
lines. But that's not Perl; you could do that in any language. I
could do it in Bourne Shell for you if I'm allowed to use a little
external thingie to handle the socket parts for me. What's it doing
in comp.lang.perl?
Oh, you wanted us to write the program for you? Wait, let me send
you my rate card.
Someone posted yesterday asking how to get the data from a file
where the start and end of the data is marked by keywords. Same thing
going on here. ``Well, here's how you solve your problem: First you
go take an introductory class in programming and learn to write
programs in some language. Then you go to the bookstore and buy this
book by Wall and Schwartz, it's really good. Read the book carefully
and try out the examples. Then if you still have general questions
like `How do I do this' instead of `I thought that this code would do
X but instead it does Y' you hire a professional to write your program
for you. Or you could just skip right to step 3. Want my rate
card?''
The worst stupid questions are the ones that come from people who
have no business asking them. The most perfect example of this that I
could have imagined was in comp.unix.questions a couple of years ago.
Some guy came and asked how you could tell if a file is a hard link.
My jaw flapped open and it's stayed open since then. I couldn't have
been any more stumped if he'd asked why Bodhidharma came from the
West. What do you say to this guy? Do you tell him the truth, that
all files are hard links, that even symbolic links are hard links?
He's not going to understand you; you might as well keep your mouth
shut. Do you tell him the truth, that the answer won't do him any
good because he doesn't know what a hard link is, so why did he bother
asking in the first place? No, that'll just make him mad. I followed
that message for the next couple weeks, and nobody said anything.
What could you say? The guy had no business asking the question and
no use for the answer. Maybe the right answer would have been to cut
off his finger or something. I dunno.
Some questions get ignored because they're boring. Someone asked
today how to compare two variables (I assumme he means the contents of
those variables) to see if they're exactly the same. You've gotta be
in an awfully good mood to take the time to answer that. Maybe
someone will. Maybe I will.
If I answer that one today, maybe he'll be back tomorrow asking
how to check to see if two variables contain different values. Maybe
I won't. What I find incredible is that if you tell these people to
go read the manual and come back in two weeks, you sometimes get
jumped on for not being helpful to beginners. Bah. If everyone told
these people to go read the manual, they'd eventually figure out that
that's what you have to do ,and then I wouldn't have to spend so much
of my life dealing with incompetent programmers.
Some questions are logically nonsensical because the querent
thinks they know more than they do. A lot of these have the form
``How do I use X to accomplish Y?'' There's nothing wrong with this,
except that sometimes X is a chocolate-covered banana and Y is the
integration of European currency systems. I always get stuck on
these, probably because I can't get rid of the idea that the person
really has a good reason for wanting to use X. I know a half-dozen
easy simple ways to accomplish Y, but I can't imagine what X has to do
with it. This is a problem for me in my day job, too. Clients are
always saying to me ``We want to use product X to do multimedia
development on the world-wide web,'' and all I can think is ``Well,
gee, what would you want to go and do that for?'' Sometimes it turns
out that they want to do it because they want to impress the
manufacturers of X, and I don't work on those jobs.
The flip side of this is a questions like ``I want to accomplish
X, but I don't want to use Y. What can I use instead?'' Which,
again, is sometimes reasonable, and then sometimes X is closing a
filehandle and Y is the `close' function.
The questions I like the best are the ones that go like this:
``I want to accomplish X.
I thought that the following code fragment would do it:
...
But instead it does Y.
Why is that?''
This one is also pretty good:
``I want to accomplish X.
I thought I might be able to use facility Y.
But Y doesn't seem like it's quite right,
because of Z.
What should I use instead of Y, or how can I overcome Z?''
When I ignore these, it's usually because I don't know the answer.
There were an awful lot of them today. It makes me very happy.
There you go; a 160-line dissertation on why questions go unanswered.
Now don't let me hear you saying nobody ever answers your questions.
------------------------------
Date: 3 Mar 1999 15:12:44 GMT
From: M.Ray@ulcc.ac.uk (Malcolm Ray)
Subject: Re: *** FAQ: ANSWERS TO YOUR QUESTIONS! READ FIRST! Posted Twice Weekly ***
Message-Id: <slrn7dqkbc.fb5.M.Ray@carlova.ulcc.ac.uk>
On Wed, 3 Mar 1999 12:39:01 +0000, Andrew Fry <andrewf@beausys.demon.co.uk>
wrote:
>All I said was that I find it irritating and patronizing to be
>constantly told what I should be reading. I dont tell you how
>to spend your time, so dont tell me how to spend mine.
But this is a *programming* group. Experienced programmers understand
the value of reading documentation, whereas beginners often seem not to.
Advising the beginner that time spent reading the documentation will
repay itself is a Good Thing.
If you have a question about regular expressions, and it's apparent
that you haven't read perlre, one *could* simply spoon-feed the answer
to you, but then what happens next time you have a different RE question?
Far better to persuade you to read the documentation, which may answer
questions you didn't even know you had!
>Facts:
>1. I have never come across another newsgroup where the RTFM
> remark is used so frequently.
I've just grepped clpmisc for answers which included /rtfm/i. Out of a
total of 3135 articles, I found 6. All of these included information
which would tell the questioner what part of TFM to R, and (to me)
seemed reasonably civil. There are a *lot* more responses which
tell the questioner to use perldoc, but, again, these are almost
always explicit: e.g. 'perldoc -f chmod' as a one line answer to a
question about changing file permissions - which seems like a pretty
good answer!
If it's true that answers in clpmisc point to the documentation more
frequently than answers in other technical groups, perhaps this is
a testament to the breadth and quality of the documentation?
>2. I have seen remarks in responses to suggest that this newsgroup
> is primarily for the experts to discuss "interesting" issues,
> and that newbies really shouldnt waste the time and attention
> of the experts by posting trivial questions that are answered
> in the documentation. A couple of e-mails sent to me personally
> have stated this view explicitly.
I don't see many many people making the 'interesting issues' claim,
but you must admit that a technical group can only function effectively
if it can retain a pool of knowledgeable contributors. For these,
it must be demoralising to see the same questions over and over and
over again. If the ratio of interesting issues to FAQs gets low
enough for long enough, isn't there a danger that those knowledgeable
contributors would leave?
>3. I have had e-mails from other newbies who have been "put off"
> using the newsgroup because of this elitist view and remarks
> made to them.
This puzzles me. ISTM that many of the people asking FAQs here are
simply unaware of the excellent documentation they already have access
to. Anyone who lurks here before posting will quickly find out about
that documentation and how to use it. If they still can't find the
answers to their questions, or they can't understand what the docs are
telling them, then they *should* post here, because this may reveal
ways in which the documentation can be improved. It's not unusual
to see an article here along the lines of "I've read 'perldoc -f sort'
but I still don't see how to...", and mostly these get polite and
helpful answers, not flamage. Can you point to counter-examples?
--
Malcolm Ray University of London Computer Centre
------------------------------
Date: Wed, 03 Mar 1999 16:28:52 +0100
From: Philip Newton <Philip.Newton@datenrevision.de>
Subject: Re: *** FAQ: ANSWERS TO YOUR QUESTIONS! READ FIRST! Posted Twice Weekly ***
Message-Id: <36DD5534.3CCBA728@datenrevision.de>
Jonathan Stowe wrote:
>
> Is anyone working on an Abigail FAQ ?
I'd love to read that.
I'm waiting for the entry that will answer "What is her last name?".
Cheers,
Philip
------------------------------
Date: 3 Mar 1999 14:21:49 GMT
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: -- # -*-Perl-*- in perl script
Message-Id: <slrn7dqhgo.ppl.fl_aggie@enso.coaps.fsu.edu>
On Wed, 3 Mar 1999 15:50:40 -0000, shmuels <shmuels@math.tau.ac.il> wrote:
+ Hello all,
+
+ in the parsing line in a perl script after the #!/usr/local/perl there is
+ this compbination.
+ The all line looks like thisL
+ #!/usr/local/perl -- # -*-Perl-*-
+ no -w can be added to this line.
Sure, it can. Put a -w after /perl and before --, so that it looks
like: /perl -w --
+ What is this strange formatting and how can be override?
It is a flag for emacs to invoke the perl-mode. Of course, you
can always just chop it out.
James
------------------------------
Date: Wed, 03 Mar 1999 09:55:08 -0500
From: linberg@literacy.upenn.edu (Steve Linberg)
Subject: Re: -- # -*-Perl-*- in perl script
Message-Id: <linberg-0303990955080001@ltl1.literacy.upenn.edu>
In article <7bjf2s$eh3$1@goethe.tau.ac.il>, "shmuels"
<shmuels@math.tau.ac.il> wrote:
> #!/usr/local/perl -- # -*-Perl-*-
> no -w can be added to this line.
> What is this strange formatting and how can be override?
Looks like an emacs mode line. It doesn't have to be on the first line
(at least for my version of emacs), so you can break it up like this:
#!/usr/local/perl -w
# -*- Perl -*-
(If that's what it is. I'm more familiar with them in this format:
-*- Mode: CPerl -*-
). HTH.
If you're not using emacs, you can probably delete that line/clause -
unless your script is being processed by something other than Perl which
needs it.
--
Steve Linberg, Systems Programmer &c.
National Center on Adult Literacy, University of Pennsylvania
email: <linberg@literacy.upenn.edu>
WWW: <http://www.literacyonline.org>
------------------------------
Date: 03 Mar 1999 07:55:27 -0800
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: flock
Message-Id: <m1zp5uk1ow.fsf@halfdome.holdit.com>
>>>>> "Lee" == Lee Howells <lee@easypress.co.uk> writes:
Lee> When a locked file is accessed, does the system wait until the file is
Lee> free again before access is alowed, or does an error occur?
flocks are orthogonal to accesses. flocks stop only other flocks of
the wrong type. (unless you're using mandatory flocking, but that's
much rarer.)
flock(STDOUT, 1); print "Just another Perl hacker,"
--
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: Wed, 03 Mar 1999 10:01:53 -0500
From: "J. Daniel Paxton" <paxtond@ix.netcom.com>
Subject: Re: How does one 'tie' a db file to a hash'
Message-Id: <36DD4EDF.89787D8F@ix.netcom.com>
Thanks to everyone...I have scrapped the code I butchered and rewote from the
beginning and now everything is working perfectly. Of course now I need to
learn how to use flock() correctly so that more problems won't arise.
dan
Ilya Zakharevich wrote:
> [A complimentary Cc of this posting was sent to Ronald J Kimball
> <rjk@linguist.dartmouth.edu>],
> who wrote in article <1do290b.1q40qiefwqs38N@bay1-134.quincy.ziplink.net>:
> > (my $timesleft = tie() or die "$!") unless defined $timesleft;
> >
> > You just declared $timesleft, so it can't be defined yet.
>
> Worse. Two strings '$timesleft' in the above line of code are
> resolved to different Perl variables. [Not that it makes the original
> code any better. ;-]
>
> [For curious: `my' takes action only *after* the end of statement, so
> the '$timesleft' "on the right" is resolved to whatever was in
> scope before the `my' declaration, most probably a package
> variable. This is why a script without `use strict' and -w is
> useless. ]
>
> Ilya
------------------------------
Date: 3 Mar 1999 10:27:36 -0500
From: clay@panix.com (Clay Irving)
Subject: Re: I'm looking for a good code editor for PERL for Win NT
Message-Id: <slrn7dql78.e9k.clay@panix.com>
On Wed, 03 Mar 1999 09:23:20 -0600, Alejandro Eluchans,
<alejandro.eluchans@umb.edu> wrote:
>I need a good text editor for PERL code that among other things, it must
>indent nested code automatically.
Bweet! Bweet! Editor alert.
Check the editor section of Perl Reference:
http://reference.perl.com/query.cgi?editors
--
Clay Irving <clay@panix.com>
It's impossible to experience one's death objectively and still carry a
tune.
- Woody Allen
------------------------------
Date: Wed, 03 Mar 1999 15:29:26 GMT
From: gellyfish@btinternet.com (Jonathan Stowe)
Subject: Re: I'm looking for a good code editor for PERL for Win NT
Message-Id: <36dd550c.24384985@news.dircon.co.uk>
On Wed, 03 Mar 1999 09:23:20 -0600, Alejandro Eluchans
<alejandro.eluchans@umb.edu> wrote:
>I need a good text editor for PERL code that among other things, it must
>indent nested code automatically.
>
In order to avoid the predictable tedious thread about peoples
favourite editors might I suggest:
<http://reference.perl.com/query.cgi?editors>
/J\
------------------------------
Date: 3 Mar 1999 15:43:32 GMT
From: gbacon@itsc.uah.edu (Greg Bacon)
Subject: Re: Inserting a 'newline' in arrays?
Message-Id: <7bjlb4$2mc$2@info.uah.edu>
In article <36DD270C.4EECE63A@internetexpress.com.au>,
Mick <horizon@internetexpress.com.au> writes:
: How do I force a \n after the $elapsed time but without placing a ','
: after the $elapsed_time?
for (@outlines) {
print $_, "\n";
}
Greg
--
Woody: Hey, Mr. Peterson, Jack Frost nipping at your nose?
Norm: Yep, now let's get Joe Beer nipping at my liver, huh?
------------------------------
Date: Wed, 03 Mar 1999 15:22:35 GMT
From: brian_smith@sonat.com
Subject: PerlScript locking up MS Access file
Message-Id: <7bjk3f$61m$1@nnrp1.dejanews.com>
My PerlScript/ASP pages seem to lock onto my MS Access file with the very
first page access, and I cannot replace/edit the file without killing the
process where the PerlScript dll has a lock on it, sometime even have to
restart web service.
I make sure to destroy my connection and resultset objects.
Please help.
brian
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Wed, 03 Mar 1999 14:33:50 GMT
From: pault2000@my-dejanews.com
Subject: Problem with readdir and sub directories
Message-Id: <7bjh8e$3ah$1@nnrp1.dejanews.com>
Hello Everyone!
I am writing a script (well, trying) that will put all of the files in a
folder into an array and then do some regular expression stuff,etc.. I have
sussed out the expressions (it was nearly the death of me) but I am stuck
trying to get the file names from the sub directories. The script below is an
example of where I have been with this. It gladly prints the sub directory
names but I need some pointers on taking it one step further so that I can
get into all the following folders.
Any help at all will be greatly appreciated and I am sure will be rewarded in
the next life!
Thanks in advance.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: 03 Mar 1999 15:41:56 +0100
From: Tony Curtis <Tony.Curtis+usenet@vcpc.univie.ac.at>
Subject: Re: Problem with readdir and sub directories
Message-Id: <834so2k53f.fsf@vcpc.univie.ac.at>
Re: Problem with readdir and sub directories,
pault2000 <pault2000@my-dejanews.com> said:
pault2000> Hello Everyone! I am writing a script
pault2000> (well, trying) that will put all of the
pault2000> files in a folder into an array and then
I presume you mean "filename" here :-)
pault2000> do some regular expression stuff,etc.. I
pault2000> have sussed out the expressions (it was
pault2000> nearly the death of me) but I am stuck
pault2000> trying to get the file names from the sub
pault2000> directories. The script below is an
pault2000> example of where I have been with
pault2000> this. It gladly prints the sub directory
pault2000> names but I need some pointers on taking
pault2000> it one step further so that I can get
pault2000> into all the following folders.
script?
pault2000> Any help at all will be greatly
pault2000> appreciated and I am sure will be
pault2000> rewarded in the next life!
perldoc File::Find (you're not Glen Hoddle are you?)
hth
tony
--
Tony Curtis, Systems Manager, VCPC, | Tel +43 1 310 93 96 - 12; Fax - 13
Liechtensteinstrasse 22, A-1090 Wien. | <URI:http://www.vcpc.univie.ac.at/>
"You see? You see? Your stupid minds! | private email:
Stupid! Stupid!" ~ Eros, Plan9 fOS.| <URI:mailto:tony_curtis32@hotmail.com>
------------------------------
Date: Wed, 03 Mar 1999 15:56:31 GMT
From: robert@iminet.com (Robert Saunders)
Subject: Question on NET::POP3
Message-Id: <78B4BB8E4FEA3F8B.C5985DFEDACF8CE8.85170917C5383D0F@library-proxy.airnews.net>
I have read the information in the Perl Cookbook along with the readme
that came with NET::POP3
I am trying to get past the very first part of the program.. below is
the code that I am using.. I have replaced $mail_server with a dummy
name to post here and the same with the username and password..
When I run this from a prompt.. I get the error message
Username password didnt work
So it gets connected to my mail server without a problem. and I have
checked the logs on the mailserver to confirm that a connection is
being started.. I have checked and rechecked the username and
password that I am using and can put them into a regular email program
and have no trouble getting the mail from the machine. So what I am
missing..
#!/usr/bin/perl
use Net::POP3;
$mail_server = "madeupname.com";
$username = "madeupusername";
$password = "madeupuserpassword";
$pop = Net::POP3->new($mail_server)
or die "Can't open connection to $mail_server : $!\n";
$pop->login("$username", "$password")
or die "Username password didnt work: $!\n";
Robert Saunders
robert@iminet.com
------------------------------
Date: Wed, 3 Mar 1999 10:50:37 -0500
From: "Michael T. Richter" <mtr@ottawa.com>
Subject: Re: The truth about the Pentium III chip and ID --- **boycott info**
Message-Id: <hTcD2.209$xJ4.409@198.235.216.4>
And this is related to Python in precisely which way?
Doug Hughes wrote in message ...
>On Tue, 2 Mar 1999, Bill Frisbee wrote:
>
>>
>> John Kenyon <etljwk@etl.x.dmx.ericsson.se> wrote in message
>> news:36DC1106.5DCDC5A9@etl.x.dmx.ericsson.se...
>> >George Bonser wrote:
>> >>
>> >> Oh, give it a break. Every Sun SPARC or UltraSPARC machine ever built
has
>> a
>> >> CPU serial number. So do most other brands of high-end machines. This
is
>> >> nothing new.
>> >
>> >You mean the host id, which is held in NVRAM, (which can be modified),
>> >which was designed to allow licensing of software, rather than the
>> >tracking of the person who was using it.
>> >
>> >The fact is that host id's existed a longtime before the Internet
>> >went "mainstream". Given the current rate of "dumbing down" of
>> >functionality, it is only a matter of time until this "host id"
>> >techology gets misused.
>>
>> Bah... Sun knows EVERYTIME I turn my system on tracked by that host id
which
>> is PART of the CPU and hardcoded to the CPU.
>>
>> BTW it is a Ultra5 not really a high end machine, yet the cpu ID is
easily
>> retrieved by Sun. Intel is doing nothing new.
>>
>You've been watching too many X-files, my poor deluded friend. The hostid
>is stored in NVRAM which is easily changed if you know how. In fact, when
>that little battery expires, your hostid goes bye-bye, which can be a
>problem for people running licensing software like flexlm. You can swap
>the NVRAM with another machine even (but I wouldn't do it with one of
>a different architecture or things become quite dicey). Oh, and how is
>it that you believe that Sun gets this from you? (this should be quite
>an enjoyable response).
>
>-d
>
------------------------------
Date: Wed, 03 Mar 1999 09:58:18 -0600
From: Joe Nall <joe@nall.com>
Subject: There seems to be running another CPAN process (5919). Contacting...
Message-Id: <36DD5C1A.B9204CB5@nall.com>
When I use install from within the cpan script I always get the message:
There seems to be running another CPAN process (xxxx). Contacting...
where xxx is the pid of the process that is running. The .lock file does
not exist when the cpan script starts. I am the only user on the machine
and another cpan is not running. The system is HP-UX 10.20 with Perl
5.005_2 and lots of (hand installed) modules. A complete session is
listed below:
cpan shell -- CPAN exploration and modules installation (v1.47)
ReadLine support enabled
cpan> install Data::Dumper
Going to read /opt/perl5/CPAN/sources/authors/01mailrc.txt.gz
Going to read /opt/perl5/CPAN/sources/modules/02packages.details.txt.gz
Scanning cache /opt/perl5/CPAN/build for sizes
Going to read /opt/perl5/CPAN/sources/modules/03modlist.data.gz
Data::Dumper is up to date.
cpan> install MLDBM
Running make for GSAR/MLDBM-2.00.tar.gz
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.sedl.org/pub/mirrors/CPAN/authors/id/GSAR/MLDBM-2.00.tar.gz
Couldn't cwd pub/mirrors/CPAN/authors/id/GSAR at /opt/perl5/lib/CPAN.pm
line 1737.
Fetching with Net::FTP:
ftp://ftp.ou.edu/mirrors/CPAN/authors/id/GSAR/MLDBM-2.00.tar.gz
CPAN: MD5 loaded ok
Fetching with Net::FTP:
ftp://ftp.ou.edu/mirrors/CPAN/authors/id/GSAR/CHECKSUMS
Checksum for /opt/perl5/CPAN/sources/authors/id/GSAR/MLDBM-2.00.tar.gz
ok
x MLDBM-2.00/Makefile.PL, 279 bytes, 1 tape blocks
x MLDBM-2.00/t/storable.t, 1825 bytes, 4 tape blocks
x MLDBM-2.00/t/freezethaw.t, 1168 bytes, 3 tape blocks
x MLDBM-2.00/t/dumper.t, 1076 bytes, 3 tape blocks
x MLDBM-2.00/lib/MLDBM/Serializer/Storable.pm, 881 bytes, 2 tape blocks
x MLDBM-2.00/lib/MLDBM/Serializer/FreezeThaw.pm, 335 bytes, 1 tape
blocks
x MLDBM-2.00/lib/MLDBM/Serializer/Data/Dumper.pm, 1978 bytes, 4 tape
blocks
x MLDBM-2.00/lib/MLDBM.pm, 14843 bytes, 29 tape blocks
x MLDBM-2.00/Changes, 950 bytes, 2 tape blocks
x MLDBM-2.00/README, 1843 bytes, 4 tape blocks
x MLDBM-2.00/MANIFEST, 192 bytes, 1 tape blocks
CPAN.pm: Going to build GSAR/MLDBM-2.00.tar.gz
There seems to be running another CPAN process (5919). Contacting...
Other job is running.
You may want to kill it and delete the lockfile, maybe. On UNIX try:
kill 5919
rm /opt/perl5/CPAN/.lock
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
cpan>
--
Joe Nall
------------------------------
Date: Wed, 03 Mar 1999 15:24:22 GMT
From: Don Roby <droby@copyright.com>
Subject: Re: Tom, where are the FAQ'lets ???
Message-Id: <7bjk6p$62o$1@nnrp1.dejanews.com>
In article <7bhm10$1l2$1@gellyfish.btinternet.com>,
Jonathan Stowe <gellyfish@btinternet.com> wrote:
> On Mon, 01 Mar 1999 20:54:43 -0600 Michael D. Schleif wrote:
> > Why stop now? Simply, because some repeated?
> >
>
> Nah, I think it was causing some peoples modems to overheat.
>
Now don't blame Tom's FAQs for that. It's the topminds and reeses and fries
that make the modems overheat.
--
Don Roby
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: 3 Mar 1999 15:37:35 GMT
From: gbacon@itsc.uah.edu (Greg Bacon)
Subject: Re: URGENT! Where Do You Hide The CGI Cards From The Spiders?
Message-Id: <7bjkvv$2mc$1@info.uah.edu>
In article <7biao8$1qi$4@client2.news.psi.net>,
abigail@fnx.com (Abigail) writes:
: Get some spider eating birds.
I knew an old lady who swallowed a fly.
I don't know why she swallowed the fly.
Perhaps she'll die.
I knew an old lady who swallowed a spider
That wiggled and jiggled and tickled inside 'er.
She swallowed the spider to swallow the fly.
I don't know why she swallowed the fly.
Perhaps she'll die.
I knew an old lady who swallowed a bird.
How absurd to swallow a bird!
She swallowed the bird to swallow the spider
That wiggled and jiggled and tickled insider 'er.
She swallowed the spider to swallow the fly.
I don't know why she swallowed the fly.
Perhaps she'll die.
...
:-),
Greg
--
We must believe in free will. We have no choice.
------------------------------
Date: 12 Dec 98 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Special: Digest Administrivia (Last modified: 12 Dec 98)
Message-Id: <null>
Administrivia:
Well, after 6 months, here's the answer to the quiz: what do we do about
comp.lang.perl.moderated. Answer: nothing.
]From: Russ Allbery <rra@stanford.edu>
]Date: 21 Sep 1998 19:53:43 -0700
]Subject: comp.lang.perl.moderated available via e-mail
]
]It is possible to subscribe to comp.lang.perl.moderated as a mailing list.
]To do so, send mail to majordomo@eyrie.org with "subscribe clpm" in the
]body. Majordomo will then send you instructions on how to confirm your
]subscription. This is provided as a general service for those people who
]cannot receive the newsgroup for whatever reason or who just prefer to
]receive messages via e-mail.
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 5044
**************************************