[9773] in Perl-Users-Digest
Perl-Users Digest, Issue: 3366 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Aug 5 12:03:34 1998
Date: Wed, 5 Aug 98 09:01:34 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Wed, 5 Aug 1998 Volume: 8 Number: 3366
Today's topics:
Re: hiding user input (Abigail)
Re: hiding user input (Greg Bacon)
Re: hiding user input (Greg Bacon)
Re: hiding user input (Greg Bacon)
Re: hiding user input (Gary L. Burnore)
Re: hiding user input (Gary L. Burnore)
Re: hiding user input (Chris Nandor)
Re: hiding user input (Greg Bacon)
Re: hiding user input (Gary L. Burnore)
Re: hiding user input (Greg Bacon)
Re: hiding user input (Gary L. Burnore)
Re: hiding user input (Greg Bacon)
Re: hiding user input (Gary L. Burnore)
Re: hiding user input (Steve Linberg)
Re: hiding user input (Gary L. Burnore)
Re: hiding user input (Chris Nandor)
Re: Multiple matches in regular expressions (Abigail)
Re: Perl Help <rootbeer@teleport.com>
Re: Perl Help dave_cross@my-dejanews.com
Re: Perl Question... <thomas@daimi.aau.dk>
Re: please critique my calendar <rootbeer@teleport.com>
Re: Reading file into single scalar, what's fastest? <matthies@fsinfo.cs.uni-sb.de>
Re: Regexp question <alan@find-it.furryferret.uk.com>
Re: running an app on nt server from cgi <rootbeer@teleport.com>
Re: seeing if a file exists. <alan@find-it.furryferret.uk.com>
split & empty patterns <matthies@fsinfo.cs.uni-sb.de>
stat on UNC root path (Tim Rosine)
Re: strange results from tied hash krupicka@tellabs.com
Re: unravelling (?=...), but what's the frog's motivati (Abigail)
Re: unravelling (?=...), but what's the frog's motivati <quednauf@nortel.co.uk>
Re: wtf is the obsession with "foo" and "bar" (Abigail)
Special: Digest Administrivia (Last modified: 12 Mar 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 5 Aug 1998 15:03:51 GMT
From: abigail@fnx.com (Abigail)
Subject: Re: hiding user input
Message-Id: <6q9s8n$ffi$3@client3.news.psi.net>
B. Oiledanimalbyproducts (sp@m.block) wrote on MDCCC September MCMXCIII
in <URL: news:35C7DEC8.26B2A1AD@m.block>:
++
++ No-one should have the right to work out their frustrations on another poster
++ whether they've been memebers of the list since the Arc or not. Common
++ courtesy exists to stop people falling into the kind of venom that you accuse
++ Gary of. And while I don't agree with the methods he chose to deal with the
++ follow up emails I at least understand enough of what prompted him to start
++ this. Abbigail didn't treat Mr Burnmore badly but she did consistently treat
++ other posters with rudeness and IMHO merits all she gets in this thread - mor
++ rudeness to bring home the point that her actions are unaccetable behaviour
++ and to make her bite her tongue in future postings.
Don't bet any money on it.
Abigail
--
perl -we 'print split /(?=(.*))/s => "Just another Perl Hacker\n";'
------------------------------
Date: 5 Aug 1998 15:09:03 GMT
From: gbacon@cs.uah.edu (Greg Bacon)
Subject: Re: hiding user input
Message-Id: <6q9sif$mk7$7@info.uah.edu>
In article <35db9c46.73540758@nntpd.databasix.com>,
gburnore@databasix.com (Gary L. Burnore) writes:
: Which is it Greg? Is ad hominem helping your position here? (I note th
: more than once in this group you use the same suggestion that you don't
: them but you'll "try using them".
Perhaps this will be your epiphany: ad hominem doesn't help me when I
use it either. Ad hominem doesn't do anything but add color to an
argument (at very best) or start a name-calling war (at worst). Ever.
I was hoping you'd realize that whether or not you beat your wife or
molest children is irrelevant to *any* discussion, including discussions
on domestic violence or sexual abuse.
Have you ever seen the Gallagher performance in which he remarks that
he wants a woman who will respect him for his mind and then asks the
women in the audience how ridiculous it sounds? He wasn't making a
serious claim, rather he was offering a demonstration.
How much more plainly can I state it for you?
[ snip quotes taken out of context ]
Why didn't you just post a list of Message-IDs for people to read
themselves? Did taking remarks out of context serve your purposes
better? You wouldn't be trying to mislead anyone, would you, Gary?
Greg
------------------------------
Date: 5 Aug 1998 14:51:56 GMT
From: gbacon@cs.uah.edu (Greg Bacon)
Subject: Re: hiding user input
Message-Id: <6q9ric$mk7$5@info.uah.edu>
In article <35c87d50.65613237@nntpd.databasix.com>,
gburnore@databasix.com (Gary L. Burnore) writes:
: Ah, more shit from little pissass bacon, which btw is the ass end of a p
>From Hell's heart I oink at thee. Soooooeeeeee!
I don't think anyone's made fun of my last name since I was in
elementary school. :-)
: Your consistant attacks are infamous in the news.groups discussions.
*yawn* You're going to put me to sleep with all these unjustified
claims. Did it ever occur to you to provide evidence for that which
you say?
Greg
------------------------------
Date: 5 Aug 1998 14:57:21 GMT
From: gbacon@cs.uah.edu (Greg Bacon)
Subject: Re: hiding user input
Message-Id: <6q9rsh$mk7$6@info.uah.edu>
In article <35cb7e5b.65881258@nntpd.databasix.com>,
gburnore@databasix.com (Gary L. Burnore) writes:
: Isn't it infinitely hypocritical to complain about ad-hominims while thr
: them?
I refuse to believe that I live in a world where one could have such an
infinitesimally sized collection of clues.
Greg
------------------------------
Date: Wed, 05 Aug 1998 15:12:27 GMT
From: gburnore@databasix.com (Gary L. Burnore)
Subject: Re: hiding user input
Message-Id: <35c875ff.129286665@nntpd.databasix.com>
On 5 Aug 1998 14:51:56 GMT, in article <6q9ric$mk7$5@info.uah.edu>,
gbacon@cs.uah.edu (Greg Bacon) wrote:
>In article <35c87d50.65613237@nntpd.databasix.com>,
> gburnore@databasix.com (Gary L. Burnore) writes:
>: Ah, more shit from little pissass bacon, which btw is the ass end of a p
>
>From Hell's heart I oink at thee. Soooooeeeeee!
>
>I don't think anyone's made fun of my last name since I was in
>elementary school. :-)
It was difficult to lower to your level.
>: Your consistant attacks are infamous in the news.groups discussions.
>
>*yawn* You're going to put me to sleep with all these unjustified
>claims. Did it ever occur to you to provide evidence for that which
>you say?
>
Already did in another post which you so conveniently skipped right by.
--
I DO NOT WISH TO RECEIVE EMAIL IN REGARD TO USENET POSTS
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
DOH! | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3 3 4 1 4 2 ]3^3 6 9 0 6 9 ][3
Special Sig for perl groups. | Official Proof of Purchase
===========================================================================
------------------------------
Date: Wed, 05 Aug 1998 15:12:52 GMT
From: gburnore@databasix.com (Gary L. Burnore)
Subject: Re: hiding user input
Message-Id: <35c97667.129390834@nntpd.databasix.com>
On 5 Aug 1998 14:57:21 GMT, in article <6q9rsh$mk7$6@info.uah.edu>,
gbacon@cs.uah.edu (Greg Bacon) wrote:
>In article <35cb7e5b.65881258@nntpd.databasix.com>,
> gburnore@databasix.com (Gary L. Burnore) writes:
>: Isn't it infinitely hypocritical to complain about ad-hominims while thr
>: them?
>
>I refuse to believe that I live in a world where one could have such an
>infinitesimally sized collection of clues.
Again you fail to answer the question.
--
I DO NOT WISH TO RECEIVE EMAIL IN REGARD TO USENET POSTS
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
DOH! | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3 3 4 1 4 2 ]3^3 6 9 0 6 9 ][3
Special Sig for perl groups. | Official Proof of Purchase
===========================================================================
------------------------------
Date: Wed, 05 Aug 1998 11:07:12 -0400
From: pudge@pobox.com (Chris Nandor)
Subject: Re: hiding user input
Message-Id: <pudge-0508981107120001@192.168.0.3>
[Crossposted to rec.humor.perl.burnore.burnore.burnore.]
In article <35ca6c7a.126848732@nntpd.databasix.com>,
whatpartofdontemailme@dontyouunderstand wrote:
# On Wed, 05 Aug 1998 07:42:32 -0400, in article
# <pudge-0508980742320001@192.168.0.3>, pudge@pobox.com (Chris Nandor) wrote:
#
# >In article <35ceba00.81152314@nntpd.databasix.com>,
# >whatpartofdontemailme@dontyouunderstand wrote:
# >
# ># On Tue, 04 Aug 1998 21:38:24 -0400, in article
# ># <pudge-0408982138280001@192.168.0.3>, pudge@pobox.com (Chris Nandor) wrote:
# >#
# ># >In article <35d58628.67878076@nntpd.databasix.com>,
# ># >whatpartofdontemailme@dontyouunderstand wrote:
# ># >
# ># ># Yeah, you're childish alright. So yes, it IS life. Yours.
# ># >
# ># >No, it is not my life. It is your life, and I control it. I control
# ># >you. I control the vertical and the horizontal. I control your bowel
# ># >movements and your e-mail. Beware.
# >#
# ># As I said. Heard it all before pudge. BTW, why do they call you pudge? You
# ># short fat and ugly?
# >
# >Yes. And yet the chicks still dig me, and are repulsed by you.
#
# Of course you have evidence of this?
Well, it came to me in a nightmare. There you were, Josta in one hand and
Cornnuts in the other, getting turned down right and left by all manner of
man and woman, seven of each. And behold, a light shone, and a booming
voice said something about a curse and crawling around on your belly.
Seemed kinda kinky. Then you slithered away and I woke up, and I saw an
empty Josta can and Cornnuts wrapper lying on the ground next to some used
snakeskin. I asked a jailed servant boy to explain the dream, an he said
something about seven years of famine for your lovelife. Oh, and then
there was some lime-flavored, sugar-free jell-o, but I forget what that
had to do with anything.
So if evidence is what you want, well, you're out of luck. But if all you
want is silly, nonsensical retorts to your tireless whining, abusive
posts, and hypocritical lessons on netiquette, then, Sir Manchild, you've
come to the right place.
--
Chris Nandor mailto:pudge@pobox.com http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6'])
------------------------------
Date: 5 Aug 1998 15:20:57 GMT
From: gbacon@cs.uah.edu (Greg Bacon)
Subject: Re: hiding user input
Message-Id: <6q9t8p$mk7$9@info.uah.edu>
In article <35c7e38c.91789316@nntpd.databasix.com>,
gburnore@databasix.com (Gary L. Burnore) writes:
: On Wed, 05 Aug 1998 13:25:32 +0900, in article <35C7DEC8.26B2A1AD@m.block>,
: "B. Oiledanimalbyproducts" <sp@m.block> wrote:
: >I at least understand enough of what prompted him to start this.
:
: Many do.
Why don't you two fellate each other and get it over with? Be sure to
card him first, though. :-)
: >Abbigail didn't treat Mr Burnmore badly but she did consistently treat
: >other posters with rudeness and IMHO merits all she gets in this thread -
: >rudeness to bring home the point that her actions are unaccetable behavio
: >and to make her bite her tongue in future postings.
:
: That was why I posted _how_ I did. I don't usually swear in a comp group.
: The why was coming for a long time.
If that's the case, then why do you use abusive language with people
other than Abigail? Could it be that you aren't telling the truth?
o/~ Potty-mouth, potty-mouth, Gary is a potty-mouth.. o/~
Greg
------------------------------
Date: Wed, 05 Aug 1998 15:15:14 GMT
From: gburnore@databasix.com (Gary L. Burnore)
Subject: Re: hiding user input
Message-Id: <35ca76f1.129528430@nntpd.databasix.com>
On 5 Aug 1998 14:51:56 GMT, in article <6q9ric$mk7$5@info.uah.edu>,
gbacon@cs.uah.edu (Greg Bacon) wrote:
>
>*yawn* You're going to put me to sleep with all these unjustified
>claims. Did it ever occur to you to provide evidence for that which
>you say?
>
------------
Subject: Re: RFD: comp.lang.perl.moderated moderated
From: gbacon@cs.uah.edu (Greg Bacon)
Date: 1998/05/27
Message-ID: <6ki121$r01$3@info.uah.edu>
Newsgroups: news.groups
Do you have no reading comprehension whatsoever?
Subject: Re: RFD: comp.lang.perl.moderated moderated
From: gbacon@cs.uah.edu (Greg Bacon)
Date: 1998/03/13
Message-ID: <6ebkbg$hom$3@info.uah.edu>
Newsgroups: news.groups
Those who explicitly ask that no email be sent invoke images of babies
in need of a pacifier.
- in same message -
As usual, you misunderstand.
Subject: Re: RFD: comp.lang.perl.moderated moderated
From: gbacon@cs.uah.edu (Greg Bacon)
Date: 1998/03/11
Message-ID: <6e66nm$lt2$2@info.uah.edu>
Newsgroups: news.groups
The reactions caused by Stanley's lack of anything better to do than
sit around and be disagreeable should be treated as an extremely
special can from which nothing can be extrapolated.
Subject: Re: RFD: comp.lang.perl reorganization
From: gbacon@cs.uah.edu (Greg Bacon)
Date: 1997/06/21
Message-ID: <5oh83t$mjb$3@info.uah.edu>
Newsgroups: news.groups
John, perhaps you don't comprehend what you read very well.
- in same post -
John, go away. You are a thorn in my side and everyone else who's
seriously interested in discussing the RFD. You aren't doing anything
but nitpicking, bitching, and moaning. Instead of piping up at every
problem you perceive (which hasn't been a real problem so far), why
don't you offer possible solutions? If you don't have anything further
to contribute, then buzz off to the hole you came from.
--
I DO NOT WISH TO RECEIVE EMAIL IN REGARD TO USENET POSTS
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
DOH! | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3 3 4 1 4 2 ]3^3 6 9 0 6 9 ][3
Special Sig for perl groups. | Official Proof of Purchase
===========================================================================
------------------------------
Date: 5 Aug 1998 15:14:25 GMT
From: gbacon@cs.uah.edu (Greg Bacon)
Subject: Re: hiding user input
Message-Id: <6q9ssh$mk7$8@info.uah.edu>
In article <35cc7ea8.65957452@nntpd.databasix.com>,
gburnore@databasix.com (Gary L. Burnore) writes:
: On 4 Aug 1998 14:28:33 GMT, in article <6q75qh$g4f$5@info.uah.edu>,
: gbacon@cs.uah.edu (Greg Bacon) wrote:
: >I'm not referring to just courtesy copies. Sometimes it's more
: >appropriate to take certain discussion to private email rather than
: >belabor the entire group with it. (I can't think of any examples
: >right now, though. :-)
:
: Well of course you can't.
Hello? McFly? Anyone home? See the smiley? I was being facetious.
: But then you bitch and whine when someone calls you
: on your shitty posts saying you didn't make them.
That didn't parse. Maybe you could try posting in English next time.
: It's NEVER appropriate to
: continue to email someone after they've told you or asked you to stop.
It's NEVER appropriate to post to Usenet without expecting the
discussion to take a turn such that it's more appropriate to continue
it in private email. Read news.announce.newusers for once in your
life.
Greg
------------------------------
Date: Wed, 05 Aug 1998 15:32:29 GMT
From: gburnore@databasix.com (Gary L. Burnore)
Subject: Re: hiding user input
Message-Id: <35cd7afb.130562626@nntpd.databasix.com>
On Wed, 05 Aug 1998 11:07:12 -0400, in article
<pudge-0508981107120001@192.168.0.3>, pudge@pobox.com (Chris Nandor) wrote:
>So if evidence is what you want, well, you're out of luck.
There you go.
--
I DO NOT WISH TO RECEIVE EMAIL IN REGARD TO USENET POSTS
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
DOH! | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3 3 4 1 4 2 ]3^3 6 9 0 6 9 ][3
Special Sig for perl groups. | Official Proof of Purchase
===========================================================================
------------------------------
Date: 5 Aug 1998 15:36:26 GMT
From: gbacon@cs.uah.edu (Greg Bacon)
Subject: Re: hiding user input
Message-Id: <6q9u5q$mk7$10@info.uah.edu>
In article <35d28369.67175268@nntpd.databasix.com>,
gburnore@databasix.com (Gary L. Burnore) writes:
: Yep, chris. Ignore me. Continue to let people like Abigail shit on peop
: when someone says something about it, be sure to ignore them.
Why do your protests have to be public? Wouldn't a polite private
message to Abigail have suited your needs just as well? Does your
emailphobia prevent you from doing this?
Greg
------------------------------
Date: Wed, 05 Aug 1998 15:34:31 GMT
From: gburnore@databasix.com (Gary L. Burnore)
Subject: Re: hiding user input
Message-Id: <35cf7b55.130652196@nntpd.databasix.com>
On 5 Aug 1998 15:09:03 GMT, in article <6q9sif$mk7$7@info.uah.edu>,
gbacon@cs.uah.edu (Greg Bacon) wrote:
>
>
>[ snip quotes taken out of context ]
>
>Why didn't you just post a list of Message-IDs for people to read
>themselves?
The message id's are there. You skipped them too?
> Did taking remarks out of context serve your purposes
>better? You wouldn't be trying to mislead anyone, would you, Gary?
Out of context? Nope. Your words exactly. Not out of context at all.
--
I DO NOT WISH TO RECEIVE EMAIL IN REGARD TO USENET POSTS
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
DOH! | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3 3 4 1 4 2 ]3^3 6 9 0 6 9 ][3
Special Sig for perl groups. | Official Proof of Purchase
===========================================================================
------------------------------
Date: Wed, 05 Aug 1998 11:34:56 -0400
From: linberg@literacy.upenn.edu (Steve Linberg)
Subject: Re: hiding user input
Message-Id: <linberg-0508981134560001@projdirc.literacy.upenn.edu>
Wow, I have never gotten so much killfile material from any usenet
thread. Individuals, and, for the first time, the entire subject
thread. Never kf'd a thread before. But this group will look so much
nicer again.
_____________________________________________________________________
Steve Linberg National Center on Adult Literacy
Systems Programmer &c. University of Pennsylvania
linberg@literacy.upenn.edu http://www.literacyonline.org
------------------------------
Date: Wed, 05 Aug 1998 15:32:58 GMT
From: gburnore@databasix.com (Gary L. Burnore)
Subject: Re: hiding user input
Message-Id: <35ce7b20.130600009@nntpd.databasix.com>
On 5 Aug 1998 15:03:51 GMT, in article <6q9s8n$ffi$3@client3.news.psi.net>,
abigail@fnx.com (Abigail) wrote:
>B. Oiledanimalbyproducts (sp@m.block) wrote on MDCCC September MCMXCIII
>in <URL: news:35C7DEC8.26B2A1AD@m.block>:
>++
>++ No-one should have the right to work out their frustrations on another poster
>++ whether they've been memebers of the list since the Arc or not. Common
>++ courtesy exists to stop people falling into the kind of venom that you accuse
>++ Gary of. And while I don't agree with the methods he chose to deal with the
>++ follow up emails I at least understand enough of what prompted him to start
>++ this. Abbigail didn't treat Mr Burnmore badly but she did consistently treat
>++ other posters with rudeness and IMHO merits all she gets in this thread - mor
>++ rudeness to bring home the point that her actions are unaccetable behaviour
>++ and to make her bite her tongue in future postings.
>
>
>Don't bet any money on it.
>
Yeah, once a bitch. Always a bitch.
--
I DO NOT WISH TO RECEIVE EMAIL IN REGARD TO USENET POSTS
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
DOH! | ][3:]3^3:]33][:]3^3:]3]3^3:]3]][3
| ][3 3 4 1 4 2 ]3^3 6 9 0 6 9 ][3
Special Sig for perl groups. | Official Proof of Purchase
===========================================================================
------------------------------
Date: Wed, 05 Aug 1998 11:46:15 -0400
From: pudge@pobox.com (Chris Nandor)
Subject: Re: hiding user input
Message-Id: <pudge-0508981146190001@192.168.0.3>
In article <35ce7b20.130600009@nntpd.databasix.com>,
whatpartofdontemailme@dontyouunderstand wrote:
# Yeah, once a bitch. Always a bitch.
I was just saying that about you the other day ... but then I was ashamed,
having deingrated the lady friends of my labrador retrievers.
--
Chris Nandor mailto:pudge@pobox.com http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6'])
------------------------------
Date: 5 Aug 1998 15:13:40 GMT
From: abigail@fnx.com (Abigail)
Subject: Re: Multiple matches in regular expressions
Message-Id: <6q9sr4$ffi$6@client3.news.psi.net>
Mark Thompson (mark-lists@webstylists.com) wrote on MDCCC September
MCMXCIII in <URL: news:35d112f1.20199576@news.supernews.com>:
++
++ I wrote a routine to match a given pattern in a file (that happens to be an
++ HTML file but this is not a CGI problem) but I found out that there may be
++ more than one occurance of the given item on a given line. I've searched
++ through the regular expression documentation and FAQ's and couldn't find
++ anything about this
Did you read the section about m// in perlop?
Abigail
--
perl -we 'print split /(?=(.*))/s => "Just another Perl Hacker\n";'
------------------------------
Date: Wed, 05 Aug 1998 15:07:30 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: Perl Help
Message-Id: <Pine.GSO.4.02.9808050804190.14291-100000@user2.teleport.com>
On Wed, 5 Aug 1998, Antoszkiewicz, Andrzej (EXCHANGE:CAR:9L42) wrote:
> Subject: Perl Help
Please check out this helpful information on choosing good subject
lines. It will be a big help to you in making it more likely that your
requests will be answered.
http://www.perl.com/CPAN/authors/Dean_Roehrich/subjects.post
> $error1 = 'login.cgi $ENV{REMOTE_HOST} ppreg';
You _do_ understand what the single quote marks do there, right?
> Unfortunately If the line is executed as is it only assumes the value
> in the single quotes and not the value of the executed script. What
> should I do.
If I understand what you're asking, you should fix that line of code.
Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Wed, 05 Aug 1998 15:14:36 GMT
From: dave_cross@my-dejanews.com
To: antoszki@nortel.com
Subject: Re: Perl Help
Message-Id: <6q9sss$1jn$1@nnrp1.dejanews.com>
[cc of newsgroup posting sent to cited author]
In article <35C84E7C.A218116B@nortel.com>,
"Antoszkiewicz, Andrzej (EXCHANGE:CAR:9L42)" <antoszki@nortel.com> wrote:
> I am currently writing a perl scrip to handle an application for program
> installation. Before the program can be installed CSA must make the
> appropriate directories accessible to the user on a given machine. I
> therefore would like to call a second script (written in Expect) from my
> script in the following fashion;
>
> $error1 = 'login.cgi $ENV{REMOTE_HOST} ppreg';
>
> Mainly I would like the value the executed script to be assigned to the
> variable error1. I can then check this value and send the appropriate
> e-mails to CSA. Unfortunately If the line is executed as is it only
> assumes the value in the single quotes and not the value of the executed
> script. What should I do. Furthermore, I would like to verify if the
> proper form of assigning a value to an Expect script is by using the
> RETURN command.
Andrzej,
If you'd read this newsgroup at all, you'd realise how dangerous it is to post
basic questions like this without giving evidence of the research that you've
already done to solve the question yourself.
There is a huge amount of free documentation distributed with Perl and glance
through it would probably solve your problem. You should look again, this time
searching for documentation for the qx// operator.
Another small clue, if you're getting this example from a Perl book, it's
probably one whose typography makes it difficult to distinguish between the
single quote character (') and the back quote character (`).
Dave...
--
dave@mag-sol.com
London Perl M[ou]ngers: <http://www.mag-sol.com/London.pm/>
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
------------------------------
Date: Wed, 05 Aug 1998 17:47:42 +0200
From: Thomas Jespersen <thomas@daimi.aau.dk>
Subject: Re: Perl Question...
Message-Id: <35C87E9E.BC3345B4@daimi.aau.dk>
Dave Mckeown wrote:
>
> Is it possible to have a script automaticlly execute at a certian time
> say 2:00 am without any outside intervention? I would like to do it
> without and ssi but have the script aware of what time it is and them at
> the certian time execute. It would help me for a script I'm working on
> thanks...
You could visit your page each day at 2 am or use cron or something
similar
------------------------------
Date: Wed, 05 Aug 1998 14:45:37 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: please critique my calendar
Message-Id: <Pine.GSO.4.02.9808050741041.14291-100000@user2.teleport.com>
On Wed, 5 Aug 1998, Peter J. Schoenster wrote:
> open(W,">cal.html");
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.
> for ($t = 1; $t <= $weekday; $t++) {
This kind of loop with relatively few iterations is generally better done
in Perl as a foreach loop.
Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: 5 Aug 1998 15:02:13 GMT
From: Niklas Matthies <matthies@fsinfo.cs.uni-sb.de>
Subject: Re: Reading file into single scalar, what's fastest?
Message-Id: <6q9s5l$out$2@hades.rz.uni-sb.de>
In comp.lang.perl.misc, Nathan V. Patwardhan <nvp@shore.net> writes:
> Niklas Matthies (matthies@fsinfo.cs.uni-sb.de) wrote:
>
> : Is there a better (i.e. faster) way to read a file into a scalar than
> : the following?
>
> Here's one way (which uses the diamond operator):
> $/ = undef;
> $file = <>; # contents of file in <>
> print $file;
Thanks! I *knew* that I was missing something... :)
This is actually 2.5 times faster than anything else, according to my
benchmark.
-- Niklas
------------------------------
Date: Wed, 5 Aug 1998 15:37:47 +0100
From: Alan Silver <alan@find-it.furryferret.uk.com>
Subject: Re: Regexp question
Message-Id: <HMuockA74Gy1EwdT@find-it.uk.com>
In article <6q7np6$ffq$1@coranto.ucs.mun.ca>, Tony Galway
<tony@engr.mun.ca> writes
>A simple question I am sure, but all the same: (I have RTFM'd ... I may
>have missed what I am looking for, but I have read it)
>
>Given string
> $string = 'hostname/result/data';
>
>I want to place hostname in a separate variable directly, I can do this
<snip>
Whilst I'm quite happy with all of the other very clever regexp-type
answers that have been offered, I would like to offer a totally
different answer. Why use regexps at all ? The following works fine ...
$string = 'hostname/result/data';
$host = substr($string,0,index($string,'/'));
This leaves $host containing 'hostname' as required.
Pardon me for being simple, but I don't see why the simple approach is
ignored in favour of fancy regexps.
Alan
--
Alan Silver
Please remove the furryferret when replying by e-mail
------------------------------
Date: Wed, 05 Aug 1998 15:13:14 GMT
From: Tom Phoenix <rootbeer@teleport.com>
Subject: Re: running an app on nt server from cgi
Message-Id: <Pine.GSO.4.02.9808050809010.14291-100000@user2.teleport.com>
On Wed, 5 Aug 1998, Finn Calabro wrote:
> I've got IIS set up with perl and it is running cgi scripts fine, but
> I can't seem to get it to execute the command line.
Is this a Perl problem or an IIS problem? It's looking suspiciously as if
IIS isn't letting you do something.
> The path is something like: "c:\dir\file.exe c:\datadir\file.dat"
That's doubtful. Even for DOS/Windows type systems, I don't think that
that's a very likely path.
Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Wed, 5 Aug 1998 13:12:04 +0100
From: Alan Silver <alan@find-it.furryferret.uk.com>
Subject: Re: seeing if a file exists.
Message-Id: <C+1JgSAUwEy1Ew+w@find-it.uk.com>
In article <35c8103e.0@calwebnnrp>, Scott Willsey <hangtown_nospam@thelo
stweb.com> writes
>Oh, wow. Now Microsoft gets the blame when people who are sure of something
>turn out to be wrong. Amazing. ;)
>
>"Microsoft made me pull the trigger, your honor... Microsoft and society!"
Seems a compelling case to me. Anyone able to argue with it ?
--
Alan Silver
Please remove the furryferret when replying by e-mail
------------------------------
Date: 5 Aug 1998 14:54:58 GMT
From: Niklas Matthies <matthies@fsinfo.cs.uni-sb.de>
Subject: split & empty patterns
Message-Id: <6q9ro2$out$1@hades.rz.uni-sb.de>
Hi,
>From the perlop man page:
If the PATTERN evaluates to a null string, the last
successfully executed regular expression is used
instead.
Let's try this:
"" =~ // && print "1\n";
TEST =~ /S/ && print "2\n";
"" =~ // && print "3\n";
It outputs:
1
2
Great, works!
Next try:
TEST =~ /S/ && print "1\n";
@foo = split //, TEST;
print join (_, @foo), "\n";
This ouptuts:
1
T_E_S_T
instead of the expected
1
TE_T
Is there some logic behind this?
-- Niklas
------------------------------
Date: Wed, 05 Aug 1998 15:35:51 GMT
From: trosine@math.uwsuper.edu (Tim Rosine)
Subject: stat on UNC root path
Message-Id: <35c86367.3103972578@news.wwa.com>
I'm trying to use File::Find to aid in one of my solutions. However
the program exits due to a warn statement in File::Find:find that
prints out a message similar to Can't stat //superior/users/.
I've created a test script that simply prints the result of stat and
have found the following results:
test.p //superior/users/file.txt OK
test.p //superior/users/directory/ OK
test.p //superior/users/dir/file.txt OK
test.p //superior/users/ NOT OK
test.p //superior/d$/users/ OK
net use u: //superior/users/
test.p u:/ OK
test.p:
#!perl
print join(',',@ARGV), "\n";
my @stat = stat($ARGV[0]);
print join(',',@stat), "\n";
__END__
To summarize, stat doesn't seem to work on UNC root directories. It
works fine on subdirectories, or files in the root, but not the root
directory itself.
Am I doing something wrong? Is there a way around this besides maping
a drive? I would like to use the root directory if possible.
Thanks for any help.
Tim Rosine
trosine@math.uwsuper.edu
------------------------------
Date: Wed, 05 Aug 1998 14:50:27 GMT
From: krupicka@tellabs.com
Subject: Re: strange results from tied hash
Message-Id: <6q9rfj$vg0$1@nnrp1.dejanews.com>
In article <35C73EA2.4FE6@min.net>,
jdporter@min.net wrote:
> krupicka@tellabs.com wrote:
> >
> > I have implemented a module for my own use which allows
> > a database (such as GDBM) with to handle each datum as a hash.
> > (This is implemented with FreezeThaw)
>
> In other words, you re-wrote MLDBM? Why?
A) It was a good frist experience at creating a tied hash object.
B) It sort of grew into it as I was hacking.
C) I didn't do prior research.
But the point of my post is not to find out that another module exists,
(I realized this about a week ago). The point is why is Perl behaving
as it is. Is it a bug in perl or is it a bug in my module? I am leaning
towards a bug in perl. But I'm not sure.
Mike krupicka@tellabs.com
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
------------------------------
Date: 5 Aug 1998 15:11:46 GMT
From: abigail@fnx.com (Abigail)
Subject: Re: unravelling (?=...), but what's the frog's motivation?
Message-Id: <6q9sni$ffi$5@client3.news.psi.net>
F.Quednau (quednauf@nortel.co.uk) wrote on MDCCC September MCMXCIII in
<URL: news:35C82E11.F86B666B@nortel.co.uk>:
++
++
++ for (split /(?=(.*))/s , "Just another Perl Hacker\n") {print "$_\n"}
++
++ So, with my limited knowledge I read the following:
++ split to frog: I have to split that sentence there. I've been told that
++ I should split on zero or more characters, including newlines.
++ frog to split: Righto! *checks his tasks* Hmm, I am not supposed to move
++ while doing my looking. Fair enough, I stretch myself a bit, and look
++ ahead. Yes, I found what you should split on.
++ split: Cool, thanks. Uh-oh, brackets. I also need the string we have
++ splitted on. It is to be included in the output. Right. Well, frog as
++ you didn't move, there's still stuff from the string left. So do the
++ whole caboodle again...
++
++ And that's where I loose it. What makes the frog move nonetheless?
You lost it in the first step. /(?=(.*))/ does *NOT* mean zero or
more characters.
Abigail
--
perl -wleprint -eqq-@{[ -eqw\\- -eJust -eanother -ePerl -eHacker -e\\-]}-
------------------------------
Date: Wed, 05 Aug 1998 16:04:49 +0100
From: "F.Quednau" <quednauf@nortel.co.uk>
Subject: Re: unravelling (?=...), but what's the frog's motivation?
Message-Id: <35C87491.B9F96FD3@nortel.co.uk>
Rick Delaney wrote:
>
> Split tells him to move forward, because it wants to match as many times
^^^^^^^^^^^^^^^^^^^
> as possible. Compare what happens with:
^^^^^^^^^^^
I almost thought so.
So split will try to match as many times as possible. I begin to see
!!!!!!
I am having problems, though, still....
What is with the very first split that I would expect?
perlfunc split:
'Anything matching PATTERN is taken to be a delimiter separating the
fields.'
At the very first iteration I would expect the frog to stand just before
J. Wouldn't the expression then match the whole sentence, leaving one
field with zero length, followed by the field containing the expression
it has been splitted on, the whole sentence? And then, leaping a
character forward, the split expression matching the whole sentence
without the J ? What stops the whole thing ever matching the whole
sentence for doing a split?
ARGH!
Sorry about this, but it's starting to haunt me.
(A note to Abigail - please warn me next time before you mess around so
badly with my brain :)
--
____________________________________________________________
Frank Quednau
http://www.surrey.ac.uk/~me51fq
________________________________________________
------------------------------
Date: 5 Aug 1998 15:19:25 GMT
From: abigail@fnx.com (Abigail)
Subject: Re: wtf is the obsession with "foo" and "bar"
Message-Id: <6q9t5t$ffi$7@client3.news.psi.net>
Kim Saunders (kims@tip.net.au) wrote on MDCCC September MCMXCIII in
<URL: news:6q8sgb$dl$1@nswpull.telstra.net>:
++ Hiya,
++
++ Why are "foo" and "bar" ALWAYS used as example names in anything unix
++ related, and partularly perl? What is the origin? What do they mean? (foo i
++ can handle). Why aren't people more imaginative when they do stuff, and use
++ their own things? It's rather irritating sometimes.
Well, when people started with perl, they used to use the variables
$funny_obfuscated_object and
@boring_array_rambling
but that was difficult to type. So, they started using '$foo' and
'@bar' instead.
Abigail
--
perl -wle 'print "Prime" if (1 x shift) !~ /^1?$|^(11+?)\1+$/'
------------------------------
Date: 12 Jul 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 Mar 98)
Message-Id: <null>
Administrivia:
Special notice: in a few days, the new group comp.lang.perl.moderated
should be formed. I would rather not support two different groups, and I
know of no other plans to create a digested moderated group. This leaves
me with two options: 1) keep on with this group 2) change to the
moderated one.
If you have opinions on this, send them to
perl-users-request@ruby.oce.orst.edu.
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 3366
**************************************