[11382] in Perl-Users-Digest
Perl-Users Digest, Issue: 4982 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Feb 26 11:47:18 1999
Date: Fri, 26 Feb 99 08:37:12 -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 Fri, 26 Feb 1999 Volume: 8 Number: 4982
Today's topics:
Learning Perl a Question at a Time <tchrist@mox.perl.com>
Re: Learning Perl a Question at a Time (Clinton Pierce)
Re: Learning Perl a Question at a Time <tchrist@mox.perl.com>
Re: Learning Perl a Question at a Time <tchrist@mox.perl.com>
Re: Learning Perl a Question at a Time <cassell@mail.cor.epa.gov>
Re: Learning Perl a Question at a Time (Ilya Zakharevich)
Re: Learning Perl a Question at a Time <tchrist@mox.perl.com>
Re: Learning Perl a Question at a Time (Alan Young)
Re: Learning Perl a Question at a Time (Ilya Zakharevich)
Re: Learning Perl a Question at a Time ran@netgate.net
Re: Learning Perl a Question at a Time <tchrist@mox.perl.com>
Re: Learning Perl a Question at a Time <uri@ibnets.com>
Re: Learning Perl a Question at a Time <tchrist@mox.perl.com>
Re: Learning Perl a Question at a Time <droby@copyright.com>
Locking an NT workstation l_burchard@my-dejanews.com
Logging time on SUnix (Shapeshifter)
Looking for a perl module or script for computer teleph <burkhard.kiesel@med.siemens.de>
Looking for a perl/cgi programmer who can maintain a me raj@NOSPAMnetpromote.com
Re: Looking for a perl/cgi programmer who can maintain (brian d foy)
Re: Looking for a perl/cgi programmer who can maintain (Abigail)
Mail Form Handlers sboucher@msn.com
Re: making a perl parser, help! (Bart Lateur)
manipulate secure web site via script? HORNE@PSFC.MIT.EDU
Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 24 Feb 1999 06:59:39 -0700
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Learning Perl a Question at a Time
Message-Id: <36d405cb@csnews>
I've flushed the queue a bit this morning, and restarted it with the
rate changed from hourly to one per 150 minutes, starting with part 6
(then doing 7, 3, 2, 1). If the thing had been this way consistently,
it would have spread out for the whole month.
I wonder how often to post this "monthly" FAQ. Semi-annually? Bimonthly?
Monthly?
--tom
--
_doprnt(pat, args, &fakebuf); /* what a kludge */
--Larry Wall, from util.c in the v5.0 perl distribution
------------------------------
Date: Wed, 24 Feb 1999 17:11:57 GMT
From: cpierce1@ford.com (Clinton Pierce)
Subject: Re: Learning Perl a Question at a Time
Message-Id: <36d632aa.781726648@news.ford.com>
On 24 Feb 1999 06:59:39 -0700, Tom Christiansen <tchrist@mox.perl.com>
wrote:
>I've flushed the queue a bit this morning, and restarted it with the
>rate changed from hourly to one per 150 minutes, starting with part 6
>(then doing 7, 3, 2, 1). If the thing had been this way consistently,
>it would have spread out for the whole month.
>
>I wonder how often to post this "monthly" FAQ. Semi-annually? Bimonthly?
>Monthly?
Due to it's volume, monthly is probably too much. But it's too
important not to do frequently. My vote is for every-other-month.
------------------------------
Date: 24 Feb 1999 11:06:27 -0700
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: Learning Perl a Question at a Time
Message-Id: <36d43fa3@csnews>
[courtesy cc of this posting sent to cited author via email]
In comp.lang.perl.misc, cpierce1@ford.com (Clinton Pierce) writes:
:Due to it's volume, monthly is probably too much. But it's too
:important not to do frequently. My vote is for every-other-month.
I could simply set the time-to-complete to sixty days and space
it out more. Right now, that would be like every five hours
for each question.
--tom
--
It's there as a sop to former Ada programmers. :-)
--Larry Wall regarding 10_000_000 in <11556@jpl-devvax.JPL.NASA.GOV>
------------------------------
Date: 24 Feb 1999 14:46:38 -0700
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: Learning Perl a Question at a Time
Message-Id: <36d4733e@csnews>
[courtesy cc of this posting sent to cited author via email]
In comp.lang.perl.misc,
Jeff Stampes <stampes@xilinx.com> writes:
:It would also be nice if they came from an account other than your
:regular account though Tom...some people do search for your posts
:still to glean the nuggets, and dont' really want to get every
:FAQ you've posted when we search.
They do.
From: Tom Christiansen <perlfaq-suggestions@perl.com>
--tom
--
MSDOS isn't dead. It just smells like it.
------------------------------
Date: Wed, 24 Feb 1999 14:34:48 -0800
From: "David L. Cassell" <cassell@mail.cor.epa.gov>
Subject: Re: Learning Perl a Question at a Time
Message-Id: <36D47E88.A3575E2@mail.cor.epa.gov>
Tom Christiansen wrote:
> In comp.lang.perl.misc,
> Jeff Stampes <stampes@xilinx.com> writes:
> :It would also be nice if they came from an account other than your
> :regular account though Tom...some people do search for your posts
> :still to glean the nuggets, and dont' really want to get every
> :FAQ you've posted when we search.
>
> They do.
>
> From: Tom Christiansen <perlfaq-suggestions@perl.com>
I believe that Jeff was *really* suggesting that your name as
sender be different. I assume he has a painfully lame newsreader
like the one I'm using here at work, which fails miserably at
picking up the e-mail address, but only shows the 'Tom Christiansen'
part as the sender - thus making it difficult [impossible on this
newsreader] to separate the two sources.
I don't mind. I'm still enough of a code butcher(tm) that I still
glean good stuff from another reading of the FAQ.
David
--
David Cassell, OAO cassell@mail.cor.epa.gov
Senior Computing Specialist
mathematical statistician
------------------------------
Date: 24 Feb 1999 23:25:28 GMT
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Subject: Re: Learning Perl a Question at a Time
Message-Id: <7b21p8$1kk$1@mathserv.mps.ohio-state.edu>
[A complimentary Cc of this posting was sent to Tom Christiansen
<tchrist@mox.perl.com>],
who wrote in article <36d4733e@csnews>:
> :It would also be nice if they came from an account other than your
> :regular account though Tom...some people do search for your posts
> :still to glean the nuggets, and dont' really want to get every
> :FAQ you've posted when we search.
>
> They do.
>
> From: Tom Christiansen <perlfaq-suggestions@perl.com>
I see that they also do not have no-archive bit set. They will
pollute DejaNews searches pretty quick.
Ilya
------------------------------
Date: 24 Feb 1999 17:46:36 -0700
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: Learning Perl a Question at a Time
Message-Id: <36d49d6c@csnews>
[courtesy cc of this posting sent to cited author via email]
In comp.lang.perl.misc, ilya@math.ohio-state.edu (Ilya Zakharevich) writes:
:I see that they also do not have no-archive bit set. They will
:pollute DejaNews searches pretty quick.
I'm not sure that pollute is the right word. They should be
there at least once, eh?
--tom
--
s = (char*)(long)retval; /* ouch */
--Larry Wall in doio.c from the perl source code
------------------------------
Date: Thu, 25 Feb 1999 01:52:42 GMT
From: alany@2021.com (Alan Young)
Subject: Re: Learning Perl a Question at a Time
Message-Id: <36d5ac20.14655625@news.supernews.com>
[cc'd tchrist@mox.perl.com (Tom Christiansen)]
On 24 Feb 1999 06:59:39 -0700, Tom Christiansen <tchrist@mox.perl.com>
wrote:
>I wonder how often to post this "monthly" FAQ. Semi-annually? Bimonthly?
>Monthly?
My $.000002 worth:
Do it as a 'fading' value (subjective, unless you have a stats program
analyzing this froup). As the FAQ questions go down (signal to noise
improves?), the faq posting frequency goes down and vice versa.
I don't know how feasible this is ...
--
Alan Young Technical Support
http://members.xoom.com/AlanYoung 2021.Interactive, LLC
If your happy and you know it, clunk your chains! http://www.2021.com
965 If you're so special, why aren't you dead?
------------------------------
Date: 25 Feb 1999 04:56:29 GMT
From: ilya@math.ohio-state.edu (Ilya Zakharevich)
Subject: Re: Learning Perl a Question at a Time
Message-Id: <7b2l5t$898$1@mathserv.mps.ohio-state.edu>
[A complimentary Cc of this posting was sent to Tom Christiansen
<tchrist@mox.perl.com>],
who wrote in article <36d49d6c@csnews>:
> :I see that they also do not have no-archive bit set. They will
> :pollute DejaNews searches pretty quick.
>
> I'm not sure that pollute is the right word. They should be
> there at least once, eh?
"Once" is the word. Do you imply that the second copies (which were
claimed to appear already) are marked as no-archive?
Ilya
------------------------------
Date: 25 Feb 1999 10:37:53 GMT
From: ran@netgate.net
Subject: Re: Learning Perl a Question at a Time
Message-Id: <7b3961$cpf$1@remarQ.com>
In <36d49d6c@csnews>, Tom Christiansen <tchrist@mox.perl.com> writes:
>I'm not sure that pollute is the right word.
Obviously, you've never done a DejaNews search that turned up over a
thousand hits. In the context of the search results, "pollute" is the
right word ;-)
>They should be
>there at least once, eh?
I assume (possibly incorrectly), that they don't keep 40 bazillion
copies of all the hundreds of other FAQs being posted as often as
weekly. If true, there must be a trick the others are using. A
"Supersedes" header, perhaps?
Ran
------------------------------
Date: 25 Feb 1999 06:35:46 -0700
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: Learning Perl a Question at a Time
Message-Id: <36d551b2@csnews>
[courtesy cc of this posting sent to cited author via email]
In comp.lang.perl.misc, ilya@math.ohio-state.edu (Ilya Zakharevich) writes:
:"Once" is the word. Do you imply that the second copies (which were
:claimed to appear already) are marked as no-archive?
What second copies?
--tom
--
"Lisp has all the visual appeal of oatmeal with fingernail clippings mixed in."
--Larry Wall in <1994Jul21.173737.16853@netlabs.com>
------------------------------
Date: 25 Feb 1999 17:46:21 -0500
From: Uri Guttman <uri@ibnets.com>
To: tchrist@mox.perl.com (Tom Christiansen)
Subject: Re: Learning Perl a Question at a Time
Message-Id: <39k8x6hzk2.fsf@ibnets.com>
>>>>> "TC" == Tom Christiansen <tchrist@mox.perl.com> writes:
TC> [courtesy cc of this posting sent to cited author via email] In
TC> comp.lang.perl.misc, cpierce1@ford.com (Clinton Pierce) writes:
TC> :Due to it's volume, monthly is probably too much. But it's too
TC> :important not to do frequently. My vote is for
TC> every-other-month.
TC> I could simply set the time-to-complete to sixty days and space it
TC> out more. Right now, that would be like every five hours for each
TC> question.
that seems like a good rate. about 5-6 a day is good. it seems more like
spam :-) right now with so many of them coming in. and depending on the
distribution of the news over the net, you get them clumped together in
the listing. spreading them out more will make them stand out so the
newbies might actually seem them and who knows, read one or two?
i skip most of them but when a topic comes up that interests me, i read
it and maybe post a comment to improve it. are any of the
comments/flames going to make it back to the FAQ source?
uri
--
Uri Guttman Hacking Perl for Ironbridge Networks
uri@sysarch.com uri@ironbridgenetworks.com
------------------------------
Date: 25 Feb 1999 16:11:48 -0700
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: Learning Perl a Question at a Time
Message-Id: <36d5d8b4@csnews>
[courtesy cc of this posting sent to cited author via email]
In comp.lang.perl.misc, Uri Guttman <uri@ibnets.com> writes:
:are any of the
:comments/flames going to make it back to the FAQ source?
Why wouldn't they?
--tom
--
"...we will have peace, when you and all your works have perished--and
the works of your dark master to whom you would deliver us. You are a
liar, Saruman, and a corrupter of men's hearts." --Larry Wall in perl/taint.c, citing Theoden from LOTR
------------------------------
Date: Fri, 26 Feb 1999 13:02:50 GMT
From: Don Roby <droby@copyright.com>
Subject: Re: Learning Perl a Question at a Time
Message-Id: <7b661m$2ce$1@nnrp1.dejanews.com>
In article <36d5d8b4@csnews>,
tchrist@mox.perl.com (Tom Christiansen) wrote:
> [courtesy cc of this posting sent to cited author via email]
>
> In comp.lang.perl.misc, Uri Guttman <uri@ibnets.com> writes:
> :are any of the
> :comments/flames going to make it back to the FAQ source?
>
> Why wouldn't they?
>
Flames even? I've got to go back and read FAQ 4.53 when your done with it!
;-)
--
Don Roby
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Thu, 25 Feb 1999 20:30:28 GMT
From: l_burchard@my-dejanews.com
Subject: Locking an NT workstation
Message-Id: <7b4bt5$glk$1@nnrp1.dejanews.com>
Does anyone know of a way (as administrator)to remotely lock another NT
workstation? I am not sure how one would send 'CTL-ALT-DEL' followed by
'ENTER' from PERL. Also,if there are any other methods of accomplishing
this, I would be interested in knowing.
Thanks!
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: 25 Feb 1999 15:20:30 -0500
From: tldowney@newstand.syr.edu (Shapeshifter)
Subject: Logging time on SUnix
Message-Id: <36d5b08e.0@news.syr.edu>
Hallo,
I have an account on our school Unix system. Does anyone know of a method
of logging time spent on a Unix system throught Perl? I'd like to be able
to see my total time online for the day, week, and month. It's a
glorification of the "last" command, essentially. If you have any ideas,
please let me know!
Thanks,
Taresa
------------------------------
Date: Fri, 26 Feb 1999 11:44:50 +0100
From: "Burkhard Kiesel" <burkhard.kiesel@med.siemens.de>
Subject: Looking for a perl module or script for computer telephony
Message-Id: <7b5ti1$5pk$1@med-iss3.erlm.siemens.de>
Hi there,
i found a program called SimplyPhone 1.0, where you can directly call a
phone number from a PC program. The PC is connected to the Internet.
Is there a Perl Module or script available, which does the same thing, means
I try to put it into a Web-Page for Online Support.
Thanks in advance
Burkhard
------------------------------
Date: Thu, 25 Feb 1999 23:12:33 GMT
From: raj@NOSPAMnetpromote.com
Subject: Looking for a perl/cgi programmer who can maintain a meta search engine
Message-Id: <36d5d949.38239680@news>
Looking for a perl/cgi programmer who can maintain a meta search
engine
------------------------------
Date: Thu, 25 Feb 1999 19:09:16 -0500
From: comdog@computerdog.com (brian d foy)
Subject: Re: Looking for a perl/cgi programmer who can maintain a meta search engine
Message-Id: <comdog-ya02408000R2502991909160001@news.panix.com>
In article <36d5d949.38239680@news>, raj@NOSPAMnetpromote.com posted:
> Looking for a perl/cgi programmer who can maintain a meta search
> engine
let's suppose you found one. what would you say to that person?
--
brian d foy
CGI Meta FAQ <URL:http://www.smithrenaud.com/public/CGI_MetaFAQ.html>
------------------------------
Date: 26 Feb 1999 00:56:10 GMT
From: abigail@fnx.com (Abigail)
Subject: Re: Looking for a perl/cgi programmer who can maintain a meta search engine
Message-Id: <7b4rfa$64u$1@client2.news.psi.net>
brian d foy (comdog@computerdog.com) wrote on MMV September MCMXCIII in
<URL:news:comdog-ya02408000R2502991909160001@news.panix.com>:
;; In article <36d5d949.38239680@news>, raj@NOSPAMnetpromote.com posted:
;;
;; > Looking for a perl/cgi programmer who can maintain a meta search
;; > engine
;;
;; let's suppose you found one. what would you say to that person?
"Pleased to meet you."
Did I win a prize?
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";`$@`'
------------------------------
Date: Thu, 25 Feb 1999 13:47:01 GMT
From: sboucher@msn.com
Subject: Mail Form Handlers
Message-Id: <7b3k8i$pm1$1@nnrp1.dejanews.com>
Does anyone know of a form handler suitable for sending large amounts of text
from a web page using the 'mailto' process.
Someine was telling me a from handler may be necessary to "Clean up" the text
to make it easily readable.
Any other methods of sending mail from a web page greatly appreciated
Thanks
Scott
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Sun, 21 Feb 1999 20:39:41 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: making a perl parser, help!
Message-Id: <36d06d39.1164135@news.skynet.be>
k wrote:
> Even if I do: $value = $tag
>It will tell me that $value IS EQUAL TO $tag, but $value DOES NOT CONTAIN
>the pattern $tag!
Classic error. $value = $tag is an assignment, not a comparison, and
apparently you've assigned something that is "true". If you want numeric
comparison, use "==", and if you want string comparison (and I think you
do), use "eq".
>Locate the embedded <fmEVAL> tags.
>(In the template, you embed the perl like so:
> <fmEVAL> $title </fmEVAL>)
> The plan is to find these tags, and eval() the value between the tags.)
Maybe try something like
s/<fmEVAL>(.*?)<\/fmEval>/eval $1/eg;
though this doesn't do any error checking (testing $@ for every
replacement).
>I'd appreciate it if you could reply to me via email,
I can't do magic. You didn't even provide a valid e-mail address.
Bart.
------------------------------
Date: 22 FEB 1999 14:06:10 GMT
From: HORNE@PSFC.MIT.EDU
Subject: manipulate secure web site via script?
Message-Id: <22FEB99.14061066@mhd2.psfc.mit.edu>
Gentlemen(persons?):
I am interested in writing an application that
will manipulate a web site (eg an internet-based stock broker like
Etrades or Datek).
The objective is to do (very simple) programmed stock trading.
My hope is that by logging into the site with a browser
as usual, then starting my application from the browser,
I can access the features of the site from my application.
(Eg, extract a quote on a set of stocks every 5 minutes, and kick off
an order if certain conditions are met.)
My application has to look to the server like a user
typing and clicking.
After some serious effort at digging through the net I'm still confused
about what's the cleanest way to do this. My background
is Fortran, C, and a little Perl. Running linux, so I
have access to a zillion other tools also -- just don't know
which ones I need.
So far, I've tried using a perl CGI script with Net::SSLeay
but with no luck. I tried:
Log in as usual
Pop up another netscape window
Go to my server; click on a link which runs a CGI perl script
that looks like so --
#!/usr/bin/perl
use Net::SSLeay;
use CGI qw/:standard/;
($p)=Net::SSLeay::get_https("server_I'm already_logged_into", 443, "/");
print header('text/html'),
$p;
This gives me not what I expect but a message that access is denied.
This works with other (unprotected) URL's, so I suspect
some sort of handshake is missing.
I would appreciate a clue.
Thanks --
Steve
------------------------------
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 4982
**************************************