[6794] in Perl-Users-Digest
Perl-Users Digest, Issue: 419 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sat May 3 08:07:21 1997
Date: Sat, 3 May 97 05:00:32 -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 Sat, 3 May 1997 Volume: 8 Number: 419
Today's topics:
Re: [DRAFT] RFD: comp.lang.perl.{data-structure,inter-p (Mark Mills)
Re: [DRAFT] RFD: comp.lang.perl.{data-structure,inter-p (A.Deckers)
Re: [DRAFT] RFD: comp.lang.perl.{data-structure,inter-p (Tung-chiang Yang)
Re: Bug in goto? (Mark Mills)
Re: Hostname (Abigail)
Re: How plausible is it to make 'foo' in perl? (A.Deckers)
Re: Lisp is neither (was Re: Ousterhout and Tcl lost th (Rainer Joswig)
LOW INVESTMENT OPPORTUNITY TO MAKE A LOT OF MONEY!!! R <fantasia@hula.net>
Re: moderation (I R A Aggie)
Re: Newbie confused by all those slashes (Tad McClellan)
Re: Notice to antispammers (I R A Aggie)
Re: Pattern Match Question (Tad McClellan)
Re: Perl auto-replier (Mark Mills)
Re: Perl code-writing standards (Steven W McDougall)
Re: PERL Editor (Tad McClellan)
Re: Perl-Books. (sharon k. hoger)
Please Help a Newbie <jswovela@uvic.ca>
Re: pre-RFD: comp.lang.perl.{data-structure,inter-proce (A.Deckers)
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sat, 03 May 1997 06:19:21 GMT
From: mark@ntr.net (Mark Mills)
Subject: Re: [DRAFT] RFD: comp.lang.perl.{data-structure,inter-process,programmer,regex}
Message-Id: <336bd786.6604056@news.ntr.net>
On 1 May 1997 22:09:25 GMT, I-hate-cyber-promo@man.ac.uk (A. Deckers)
wrote:
> moderated comp.lang.perl.data-structure
> moderated comp.lang.perl.inter-process
> moderated comp.lang.perl.programmer
> moderated comp.lang.perl.regex
I'd honestly just like a c.l.p.moderated
or at most c.l.p.regex and c.l.p.programmer
IMHO I don't see enough dsc and iproc stuff to warrant the other two.
>Cheers,
>
>Alain
>
Keep up da good work. :>
--
[Hopper, Dennis]: There's mines over there, there's mines over
there, and watch out those goddam monkeys bite, I'll tell ya.
==Apocalypse Now==
------------------------------
Date: 3 May 1997 10:25:52 GMT
From: I-hate-cyber-promo@man.ac.uk (A.Deckers)
Subject: Re: [DRAFT] RFD: comp.lang.perl.{data-structure,inter-process,programmer,regex}
Message-Id: <slrn5mm4lg.j2r.I-hate-cyber-promo@news.rediris.es>
In comp.lang.perl.misc,
mark@ntr.net wrote:
>On 1 May 1997 22:09:25 GMT, I-hate-cyber-promo@man.ac.uk (A. Deckers)
>wrote:
>
>
>> moderated comp.lang.perl.data-structure
>> moderated comp.lang.perl.inter-process
>> moderated comp.lang.perl.programmer
>> moderated comp.lang.perl.regex
>
>I'd honestly just like a c.l.p.moderated
>
>or at most c.l.p.regex and c.l.p.programmer
>
>IMHO I don't see enough dsc and iproc stuff to warrant the other two.
As soon as I get myself read access to a news spool, I'm going to run a
little script to do some keyword frequency analysis. I'll report back
when I have the results.
In any case, that's why we have votes: if folks aren't interested in
some of the proposed groups, they won't vote for them and those
particular groups will not be created. I wouldn't be in any way
dissapointed or upset if that was the outcome.
Cheers,
Alain
--
Perl information: <URL:http://www.perl.com/perl/>
Perl FAQ: <URL:http://www.perl.com/perl/faq/>
Perl archive: <URL:http://www.perl.com/CPAN/>
------------------------------
Date: Sat, 3 May 1997 11:25:08 GMT
From: tcyang@netcom.com (Tung-chiang Yang)
Subject: Re: [DRAFT] RFD: comp.lang.perl.{data-structure,inter-process,programmer,regex}
Message-Id: <tcyangE9Lrpw.Co2@netcom.com>
You forgot one thing. To create these groups, you have to win supports
for more than CLPM people. There are elementary people who always believe
"moderation = censorship". Present an explanation for these people first.
==============================
A.Deckers (I-hate-cyber-promo@man.ac.uk) wrote:
: As soon as I get myself read access to a news spool, I'm going to run a
: little script to do some keyword frequency analysis. I'll report back
: when I have the results.
: In any case, that's why we have votes: if folks aren't interested in
: some of the proposed groups, they won't vote for them and those
: particular groups will not be created. I wouldn't be in any way
: dissapointed or upset if that was the outcome.
--
Tung-chiang Yang tcyang@netcom.com
soc.culture.taiwan, soc.culture.china (by SCC FAQ Team) FAQ's:
http://www.clever.net/tcyang/Taiwan_faq.shtml, China_faq.shtml
------------------------------
Date: Sat, 03 May 1997 08:34:14 GMT
From: mark@ntr.net (Mark Mills)
Subject: Re: Bug in goto?
Message-Id: <336ef3b2.13817246@news.ntr.net>
On 2 May 1997 13:11:40 GMT, "Geoff Mottram" <minaret@sprynet.com>
wrote:
>Is there a known bug in Perl 5.003 with regards goto statements and
>contexts?
>
>I have a situation where a goto inside a while loop that is in a subroutine
>is jumping into the body of an if statement. When that subroutine returns,
>the Perl_pp_leavesub function is freeing one of the subroutines that was
>called within the while loop.
>
>It looks like the goto is messing up Perl's contexts and causing the
>reference count for the subroutine that was called in the while loop to go
>to zero, causing the subroutine to be freed. The program eventually causes
>a segmentation violation when the freed subroutine is called again.
>
>I'm hoping someone out there will say "Oh yeah, that's the old goto context
>bug" and also tell me it's been fixed or at least that someone is aware of
>it.
>
>Geoff Mottram
>minaret@sprynet.com
>
The bug is using it. DON'T. Sure the motto of perl is TIMTOWTDI but
some of them are BAD. My perl bible (Rev 1, 2 is at office) says it
exists to make sed->perl easier. It also says don't jump into do {}
blocks. Since I left gw-basic behind 10 years ago (ohmygawd _10_ ?)
for quick basic then pascal, lisp, C, perl and many more I have NEVER
needed it. EVER.
Perl has an overabundance of control structures. Give yourself a
treat and use them. It'll make you a better programmer and make your
life in debugging/code maintainance much easier.
All the way back in 1991 Larry and Randal warned you that this
statement was effectively deprecated and that it only existed for
compatibility.
Sorry for preaching, pet peeve.
--
[Hopper, Dennis]: There's mines over there, there's mines over
there, and watch out those goddam monkeys bite, I'll tell ya.
==Apocalypse Now==
------------------------------
Date: Sat, 3 May 1997 04:49:28 GMT
From: abigail@fnx.com (Abigail)
Subject: Re: Hostname
Message-Id: <E9L9EG.HBs@nonexistent.com>
On Fri, 2 May 1997 18:21:45 -0700, Tom Phoenix wrote in
comp.lang.perl.misc URL: news:Pine.GSO.3.96.970502181601.5798C-100000@kelly.teleport.com:
++ On 2 May 1997, Magnus S|derstr|m MNF94 wrote:
++
++ > I need to get the hostname of the computer that I am currently
++ > logged into.
++
++ I suppose you don't want this. Funny, it works for me. :-)
++
++ $hostname = 'localhost';
++
++ Seriously, there's no guaranteed way to do what you ask. The reason is
++ that the machine may have zero, one, two, or many different hostnames. But
++ you could start by seeing what the manpage for uname(1) says that `uname
++ -n` will give you.
++
++ If you're writing a CGI script, check the CGI interface specs, which may
++ give you what you need. But since that's not about Perl, I won't say more
++ about it here. In fact, except for my joke example, I haven't used any
++ Perl, which makes me wonder whether this is really a Unix question instead
++ of a Perl question. :-)
Well, if you really want to use Perl for it, and you have build Perl
on your machine, you could always do 'perl -V' and see what it says....
Abigail (Hmmm, should I reinstall perl because I renamed my machine?)
------------------------------
Date: 3 May 1997 10:20:01 GMT
From: I-hate-cyber-promo@man.ac.uk (A.Deckers)
Subject: Re: How plausible is it to make 'foo' in perl?
Message-Id: <slrn5mm4ah.j2r.I-hate-cyber-promo@news.rediris.es>
In comp.lang.perl.misc,
jahwan@supernova.math.lsa.umich.edu wrote:
>
>> This made me wonder, suddenly: can telnet be written in perl?
> Of course it can be written in Perl. Now if you'd said nroff,
> that would be more challenging... --Larry Wall
>
> I took the quote above found in Perl Language Homepage quite seriously,
>and asked myself this question: Can [[the following be written in Perl?]]
[...]
>(2) an editor
>(3) an MUA (Mail User Agent)
>(4) an MTA (Mail Transfer Agent)
>(5) a (intelligent) news reader
>(6) a web browser, text-only or graphic
Most of the functionality for the above is available _now_ as Perl
modules. See CPAN: <URL:http://www.perl.com/CPAN/modules/>.
>(7) a spread sheet
>(8) a word processor (OK, OK, I'll stop it here.)
No reason why not, using the Tk extension you could even have a nice
GUI. :-)
Cheers,
Alain
--
Perl information: <URL:http://www.perl.com/perl/>
Perl FAQ: <URL:http://www.perl.com/perl/faq/>
Perl archive: <URL:http://www.perl.com/CPAN/>
------------------------------
Date: Sat, 03 May 1997 09:24:30 +0200
From: joswig@lavielle.com (Rainer Joswig)
Subject: Re: Lisp is neither (was Re: Ousterhout and Tcl lost the plot)
Message-Id: <joswig-ya023180000305970924300001@news.lavielle.com>
In article <5k45qk$4kd$1@goanna.cs.rmit.EDU.AU>, ok@goanna.cs.rmit.EDU.AU
(Richard A. O'Keefe) wrote:
> Of all people, Ousterhout should know that Sun have a very nice
> Scheme implementation which is freely available. It's called "esh"
> (I believe it originally stood for 'embeddable shell' hint hint).
> And it offers the smoothest simplest interoperation with C that I
> have ever seen. I do wish Sun would either make it a product or
> else release the sources so that someone else could. Is the attempt
> to pretend that Scheme _can't_ work well with C really an piece of
> internal politicking against the ESH people?
For now they are going with TCL. See http://www.sun.com/970430/cover/
and Ousterhoud's text is the "White Paper"
http://www.sunlabs.com/people/john.ousterhout/scripting.html .
See also http://sunscript.sun.com .
Sigh.
--
http://www.lavielle.com/~joswig/
------------------------------
Date: Fri, 02 May 1997 19:28:21 -0700
From: Peter Sung <fantasia@hula.net>
Subject: LOW INVESTMENT OPPORTUNITY TO MAKE A LOT OF MONEY!!! READ ON!!!
Message-Id: <336AA2C5.1EF5@hula.net>
A little while back, I was browsing these newsgroups, just like you
are now, and came across an article similar to this that said you
could make thousands of dollars within weeks with only an initial
investment of $5.00! So I thought, "Yeah, right, this must be a scam,"
but like most of us I was curious, so I kept reading. Anyway, it said
that you send $1.00 to each of the 5 names and address stated in the
article. You then place your own name and address in the bottom of the
list at #5, and post the article in at least 200 newsgroups. (There
are thousands) No catch, that was it.
So after thinking it over, and talking to a few people first, I
thought about trying it. I figured what have I got to lose except 5
stamps and $5.00, right?
Like most of us I was a little skeptical and a little worried about
the legal aspects of it all. So I checked it out with my country Post
Office, and others had with US Post (1-800-725-2161) and they
confirmed that it is indeed legal!
Then I invested the measly $5.00.............
Well GUESS WHAT!!... with in 7 days, I started getting money in the
mail! I was shocked! I still figured it would end soon, and didn't
give it another thought. But the money just kept coming in. In my
first week, I made about $20.00 to $30.00 dollars. By the end of the
second week I had made a total of over $1,000.00!!!!!! In the third
week I had over $10,000.00 and it's still growing. This is now my
fourth week and I have made a total of just over $42,000.00 and it's
still coming in .......
It's certainly worth $5.00, and 5 stamps, I spent more than that on
the lottery!! Let me tell you how this works and most importantly, Why
it works....also, make sure you print a copy of this article NOW, so
you can get the information off of it as you need it. The process is
very simple and consists of 3 easy steps:
STEP 1: Get 5 separate pieces of paper and write the following on each
piece of paper "PLEASE PUT ME ON YOUR MAILING LIST." Now get 5 $1.00
bills and place ONE inside EACH of the 5 pieces of paper so the bill
will not be seen through the envelope to prevent thievery. Next, place
one paper in each of the 5 envelopes and seal them. You should now
have 5 sealed envelopes, each with a piece of paper stating the above
phrase and a $1.00 bill. What you are doing is creating a service by
this. THIS IS PERFECTLY LEGAL!
Mail the 5 envelopes to the following addresses:
#1 B.C. Smith
P.O. Box 170
Greenland, AR 72703
#2 Beddingfield, Bobby
12404 Nokesville Road
P.O. Box 40
Nokesville, Va 22123
#3 Keen, Callye
44181 Bristow Circle
Ashburn, VA 20147
#4 Tom, BDB.
Via Damiano Chiesa 10
00010 Marcellina (Roma)
Italy
#5 H. J. Sung
1839 Keeaumoku St.
Honolulu, HI 96822-3004
STEP 2: Now take the #1 name off the list that you see above, move the
other names up (5 becomes 4, 4 becomes 3, etc...) and add YOUR Name as
number 5 on the list.
STEP 3: Change anything you need to, but try to keep this article as
close to original as possible. Now, post your amended article to at
least 200 newsgroups. (I think there is close to 25,000 groups) All
you need is 200, but remember, the more you post, the more money you
make!
Don't know HOW to post in the newsgroups? Well do exactly the
following:
FOR NETSCAPE USERS:
1) Click on any newsgroup, like normal. Then click on "To News", which
is in the top left corner of the newsgroup page. This will bring up a
message box.
2) Fill in the SUBJECT with a flashy title, like the one I used,
something to catch the eye!!!
3) Now go to the message part of the box and retype this letter
exactly as it is here, with exception of your few changes. (remember
to add your name to number 5 and move the rest up)
4) When your done typing in the WHOLE letter, click on 'FILE' above
the send button. Then, 'SAVE AS..' DO NOT SEND YOUR ARTICLE UNTILL
YOU
SAVE IT. (so you don't have to type this 200 times :-)
5) Now that you have saved the letter, go ahead and send your first
copy! (click the 'SEND' button in the top left corner)
6) This is where you post all 200! OK, go to ANY newsgroup article and
click the 'TO NEWS' button again. Type in your flashy subject in the
'SUBJECT BOX', then go to the message and place your cursor here. Now
click on 'ATTACHMENT' which is right below the 'SUBJECT BOX'. Click
on
attach file then find your letter wherever you saved it. Click once
on your file then click 'OPEN' then click 'OK'. If you did this
right,
you should see your filename in the 'ATTACHMENT BOX' and it will be
shaded.
NOW POST AWAY!
FOR INTERNET EXPLORER:
It's just as easy, holding down the left mouse button, highlight this
entire article, then press the 'CTRL' key and 'C' key at the same time
to copy this article. Then print the article for your records to have
the names of those you will be sending $1.00 to.
Go to the newsgroups and press 'POST AN ARTICLE' type in your flashy
subject and click the large window below. Press 'CTRL' and 'V' and the
article will appear in the message window. **BE SURE TO MAKE YOUR
ADDRESS CHANGES TO THE 5 NAMES.** Now re-highlight the article and
re-copy it so you have the changes.... then all you have to do for
each newsgroup is 'CTRL' and 'V' and press 'POST'. It's that easy!!
THAT'S IT! All you have to do is jump to different newsgroups and post
away, after you get the hang of it, it will take about 30 seconds for
each newsgroup!
**REMEMBER, THE MORE NEWSGROUPS YOU POST IN, THE MORE MONEY YOU WILL
MAKE!! BUT YOU HAVE TO POST A MINIMUM OF 200**
**If these instructions are too complex to follow, try Fortes "Free
Agent." It is freeware for noncommercial use. To download it, simply
use a search utility and type "Forte Free Agent". You should be able
to find it.**
That's it! You will begin receiving money from around the world within
days! You may eventually want to rent a P.O. Box due to the large
amount of mail you receive. If you wish to stay anonymous, you con
invent a name to use, as long as the postman will deliver it.
**JUST MAKE SURE ALL THE ADDRESSES ARE CORRECT.**
---
Now the WHY part:
Out of 200 postings, say I receive only 5 replies (a very low
example). So then I made $5.00 with my name at #5 on the letter. Now,
each of the 5 persons who just sent me $1.00 make the MINIMUM 200
postings, each with my name at #4 and only 5 persons respond to each
of the original 5, that is another $25.00 for me, now those 25 each
make 200 MINIMUM posts with my name at #3 and only 5 replies each, I
will bring in an additional $125.00! Now, those 125 persons turn
around and post the MINIMUM 200 with my name at #2 and only receive 5
replies each, I will make an additional $626.00! OK, now here is the
fun part, each of those 625 persons post a MINIMUM 200 letters with my
name at #1 and they each only receive 5 replies, that just made me
$3,125.00!!! With a original investment of only $5.00! AMAZING! And
as I said 5 responses is actually VERY LOW! Average is probable 20 to
30! So lets put those figures at just 15 responses per person. Here is
what you will make:
at #5 $15.00
at #4 $225.00
at #3 $3,375.00
at #2 $50,625.00
at #1 $759,375.00
When your name is no longer on the list, you just take the latest
posting in the newsgroups, and send out another $5.00 to names on the
list, putting your name at number 5 again. And start posting again.
The thing to remember is that thousands of people all over the world
are joining the Internet and reading these articles everyday, JUST
LIKE YOU are now!! So can you afford $5.00 and see if it really
works?? I think so... People have said, "what if the plan is played
out and no one sends you the money? So what! What are the chances of
that happening when there are tons of new honest users and new honest
people who are joining the Internet and newsgroups everyday and are
willing to give it a try? Estimates are at 20,000 to 50,000 new users,
every day, with thousands of those joining the actual Internet.
Remember, play FAIRLY and HONESTLY and this will work. You just have
to be honest. Make sure you print this article out RIGHT NOW, also.
Try to keep a list of everyone that sends you money and always keep an
eye on the newsgroups to make sure everyone is playing fairly.
Remember, HONESTY IS THE BEST POLICY. You don't need to cheat the
basic idea to make the money!!
GOOD LUCK to all and please play fairly and reap the huge rewards from
this, which is tons of extra CASH. **By the way, if you try to deceive
people by posting the messages with your name in the list and not
sending the money to the rest of the people already on the list, you
will NOT get as much. Someone I talked to knew someone who did that
and he only made about $150.00, and that's after seven or eight weeks!
Then he sent the 5 $1.00 bills, people added him to their lists, and
in 4-5 weeks he had over $10k.
This is the fairest and most honest way I have ever seen to share the
wealth of the world without costing anything but our time!!!
Don't listen to the people that don't trust it and continue to say
it's
illegal and don't work... They are just too much skeptics.
You also may want to buy mailing and e-mail lists for future dollars.
Please remember to declare your extra income. Thanks once again...
------------------------------
Date: Fri, 02 May 1997 13:38:27 -0500
From: fl_aggie@hotmail.com (I R A Aggie)
Subject: Re: moderation
Message-Id: <fl_aggie-ya02408000R0205971338270001@news.fsu.edu>
In article <3369F2F0.6F6FE99A@absyss.fr>, Douglas Seay <seay@absyss.fr> wrote:
+ Moderation seems to be the buzz word of the day. I can't say I like it,
+ but it might be better than the insanity of today. I know squat about
+ Usenet moderation rules, but everything I've seen has been human
+ moderated.
AFAIK, comp.infosystems.www.authoring.cgi is robo-moderated.
James
--
Consulting Minister for Consultants, DNRC
To cure your perl CGI problems, please look at:
<url:http://www.perl.com/perl/faq/idiots-guide.html>
------------------------------
Date: Fri, 2 May 1997 23:32:18 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: Newbie confused by all those slashes
Message-Id: <i4fek5.966.ln@localhost>
Amias Channer (amias@amias.prestel.co.uk) wrote:
: I am having a problem trying to get a true response after searching a
: string for a keyword and finding it . I have read the documentation of
: Perl 5 that came with the NT version i'm using and couldn't make head
: nor tale of the endless slashing and pointy bracketing .
: The code i have tried and failed with is as follows
: if ($prodname eq qw{$values[2]}){
: do stuff
: }
: where prodname is a string containg the keyword i wish to find in
: values[2] wich contains a description of something e.g. 'large wolly
: jumper with hole in it' . I have checked the variable contents and they
: contain what they should .
$values[2] = 'large wolly jumper with hole in it';
$prodname = 'jumper';
The first one has 33 characters in it, the second has six characters.
The certainly cannot be equal strings if they do not even have
the same number of characters in them.
You are testing for equality, to the response _should_ be false.
So, don't test for equality ;-)
: If any PERL gurus feel like lending a hand to a confused newbie it
: would be appreciated
I'm most certainly not a Perl guru, but I'll answer it anyway ;-)
if ( $values[2] =~ /$prodname/ ) ...
=~ "binds" the string to search in ($values[2]) to the
pattern to search for (/$prodname/).
--
Tad McClellan SGML Consulting
Tag And Document Consulting Perl programming
tadmc@flash.net
------------------------------
Date: Fri, 02 May 1997 09:27:49 -0500
From: fl_aggie@hotmail.com (I R A Aggie)
Subject: Re: Notice to antispammers
Message-Id: <fl_aggie-ya02408000R0205970927490001@news.fsu.edu>
In article <E9J4F8.Br3@nonexistent.com>, rsi@earthling.net wrote:
+ fl_aggie@hotmail.com (I R A Aggie) writes:
+ > So, if you feel the need to munge, perhaps you should take a Usenet
+ > vacation...
+ And you should give your R key a rest. Sheesh!
Tough cookies.
James
--
Consulting Minister for Consultants, DNRC
To cure your perl CGI problems, please look at:
<url:http://www.perl.com/perl/faq/idiots-guide.html>
------------------------------
Date: Sat, 3 May 1997 00:19:52 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: Pattern Match Question
Message-Id: <othek5.bd6.ln@localhost>
Claudia Ma (maclaudi@cps.msu.edu) wrote:
: Hi there,
Hi.
: Can someone tell me how to get rid of special chars like !, #, (, .. ?
^^^^
Sure. Be happy to.
But note that we cannot give an exact and complete answer without
the complete list of characters you wish to get rid of.
: I used
: $var =~ /\!+|\#+\\(+//g;
: but it didn't work. :(
^^^^^^^^^^^
Didn't even compile...
$var =~ s/[!#(]//g;
^^^ delete these characters
You can add most other chars to that character class.
But these four: ] \ ^ - are still metacharacters (I think that's
all of them)
(you can't just blindly drop them into the character class without
knowing how to avoid their 'meta meaning', this is why we would
need the complete list of chars to give a complete answer).
: Thanks!
You're welcome.
--
Tad McClellan SGML Consulting
Tag And Document Consulting Perl programming
tadmc@flash.net
------------------------------
Date: Sat, 03 May 1997 06:58:24 GMT
From: mark@ntr.net (Mark Mills)
Subject: Re: Perl auto-replier
Message-Id: <336de150.9109888@news.ntr.net>
On Fri, 02 May 1997 17:31:13 GMT, jp@here.com (jp) wrote:
>Hi,
>I have a CBF 600 and every time I rev the engine in the garage, perl
>on my server dies. Can anyone help me please ? I really don't want to
>sell my bike.
Open the garage door, sit facing forward, breathe less deeply and
don't forget use strict; in each and every program.
And please, post questions like this in
comp.lang.motorized.vehicles.server and read the Internal Combustion
Programming Engine FAQ.
--
[Hopper, Dennis]: There's mines over there, there's mines over
there, and watch out those goddam monkeys bite, I'll tell ya.
==Apocalypse Now==
------------------------------
Date: Sat, 3 May 1997 03:13:27 GMT
From: swmcd@world.std.com (Steven W McDougall)
Subject: Re: Perl code-writing standards
Message-Id: <E9L4yG.JAH@world.std.com>
not@hoople.demon.co.uk (Mark Bradshaw) writes:
>The company I currently work for are keen to introduce Perl as one of
>the development languages which can be used. However in order to
>do this we have to develop some minimal standards as to how to
>structure code, what debugging routines to embed into the code, etc.
>Are there any such standards already available or do we have to start
>from scratch?
Look at http://world.std.com/~swmcd/steven/Perl/
It's minimal, but it's a start...
- SWM
------------------------------
Date: Fri, 2 May 1997 23:51:49 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: PERL Editor
Message-Id: <59gek5.n86.ln@localhost>
Nicholas Carey (a-bnc@microsoft.com) wrote:
: In article <5kdhii$q64@info.abdn.ac.uk>, junkmail@sysc.abdn.ac.uk says...
: >
: >Luigi Mattera, while sobering up, wrote:
: >: Peter G. Martin (peterm@zeta.org.au) wrote:
: >: : emacs.pl, potatoes, vi, ed....
: >: : So none of you own a pencil, huh ?
: >
: >: Pencils? Bah, who needs pencils? You should manually punch out
: >: holes in punch cards to feed into a punch card reader.
: >
: >All that card? I only need 8 switches and a button to input *my* programs.
: switches? really? I use wire jumpers ;-)
I carefully calculated the radius and number of teeth for the gears,
taking into consideration the overall arrangement of the pulleys,
ropes, and ratchets.
AND I had to do those calculations on my fingers.
(and toes, for non-trivial computations)
(and the digits of other staff members for truly complex problems)
... in the snow!
--
Tad McClellan SGML Consulting
Tag And Document Consulting Perl programming
tadmc@flash.net
------------------------------
Date: Fri, 02 May 1997 07:24:54 -0500
From: sharonh@zilker.net (sharon k. hoger)
Subject: Re: Perl-Books.
Message-Id: <sharonh-0205970724540001@ivydp20.zilker.net>
In article <33526444.61D@absyss.fr>, Douglas Seay <seay@absyss.fr> wrote:
> Randal Schwartz wrote:
> > Perl is a powerful tool in the hand of an expert. A beginner might
> > have some difficulty. Best to stay for a while with some toy
> > language, like Visual Basic or TCL. :-)
>
> Cold. That was very cold.
Oh, please! I had a 17 year old summer intern a few years ago
who wrote a number of excellent perl scripts to extract and
analyze test data. All we did was give him the "Learning Perl"
book and he did the rest.
Sharon
------------------------------
Date: Fri, 02 May 1997 23:59:27 -0700
From: Jon Swoveland <jswovela@uvic.ca>
Subject: Please Help a Newbie
Message-Id: <336AE24F.5F90@uvic.ca>
I don't know if this makes any sense, but...
I have a question about using Perl scripts to generate SGML/HTML files.
At the company I work for, I am the HTML coder, and I have been told I
need to code some HTML pages which will be used in conjunction with a
Perl script which was written by someone else. Apparently the Perl
script generates SGML/HTML tags and text and places these strings in
pre-defined place-holders in an HTML file. So, my question is: does
anybody know the syntax for writing the HTML file with these
place-holders? I have a vague familiarity with Perl, so if you throw
some in I wont be totally lost.
Thanks in advance for any help...
Jon
------------------------------
Date: 3 May 1997 10:10:38 GMT
From: I-hate-cyber-promo@man.ac.uk (A.Deckers)
Subject: Re: pre-RFD: comp.lang.perl.{data-structure,inter-process,porters,regex}
Message-Id: <slrn5mm3ou.j2r.I-hate-cyber-promo@news.rediris.es>
In comp.lang.perl.misc,
a-bnc@microsoft.com wrote:
[...]
>It's probably not worth setting up clp.clueless.newbie for
>the simple reason that [almost] nobody will post to it.
>
>Clueless.Newbies won't post to it because, "my problem is
>obviously far too [complex|important] to *be* a newbie problem.
>So, I'll just post my message to...well, let's see...the entire
>clp.* hierarchy. That way, somebody will be sure to answer it."
They wouldn't be able to, since the proposed groups would be moderated,
in part precisely to avoid this sort of problem. Cross-posts between
clp.* groups would be rejected, except for some special provisions as
stated in the draft RFD I've published.
>And just who *would* read clp.clueless.newbies? How many people
>are going to read a group to do nothing but post articles whose
>body consists of something along the lines of
Agreed. This also yet another argument against setting up a
clp.(cgi|www) group, among a number of others.
[...]
>And as far as clp.[wizards|porters|etc] go, these groups would
>be an absolute magnet for inane questions. Again, the newbie
>mindset: "My problem is far, far too complex for mere mortals.
>Only a wizard or Larry Wall hisself can comprehend the subtle
>complexities inherent in this problem."
>
>In addtion, clp.porters newsgroup would almost certainly need
>to be moderated to keep the S/N ratio sufficiently high. And
>moderation would reduce its utility by (I suspect) an order of
>magnitude or so.
>
>I lurk on the p5p list...there is a lot of traffic (75-150
>message/day!). A lot of the discussion on p5p is pretty
>rapidfire discussion. I've seen bugs reported that are
>reproduced and verified on several different platforms
>within an hour or so. A patch put out shortly after that. And
>the patch being installed, tested and verified within another
>small window. That sort of quasi-realtime conferencing doesn't
>work very well in the NNTP world, because of the propagation
>delays.
Well, the moderation model I proposed is specifically designed to, and
would, overcome this limitation. In fact, the proposed moderation model
would *speed up* propagation compared to the current situation of clp.*
groups, so that really wouldn't be a problem. Anyone who had the means
and motive to do so could have near instantaneous access to submitted
articles.
If the submission distribution list was mirrored by a number of sites,
we could even eliminate the (in any case small) risk of interruptions
in service due to network/server outages.
>Decomposition by skill/experience level doesn't work very well.
No, and the proposeed clp.porters group wasn't intended to achieve
that. It was meant to be about "extending and porting Perl to
non-native OS's", to quote the tentative Newsgroups line I included in
the pre-RFD. That's why I rejected the clp.developers and clp.workers
names.
In any case, I've now dropped this group from the draft RFD. Let the
porters decide their own future.
Cheers,
Alain
--
Perl information: <URL:http://www.perl.com/perl/>
Perl FAQ: <URL:http://www.perl.com/perl/faq/>
Perl archive: <URL:http://www.perl.com/CPAN/>
------------------------------
Date: 8 Mar 97 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 8 Mar 97)
Message-Id: <null>
Administrivia:
The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc. For subscription or unsubscription requests, send
the single line:
subscribe perl-users
or:
unsubscribe perl-users
to almanac@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.
The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.
The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.
For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V8 Issue 419
*************************************