[9781] in Perl-Users-Digest
Perl-Users Digest, Issue: 3374 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Aug 6 09:07:13 1998
Date: Thu, 6 Aug 98 06:00:42 -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 Thu, 6 Aug 1998 Volume: 8 Number: 3374
Today's topics:
Re: But what about "baz"? (Was: "foo" and "bar") <tchrist@mox.perl.com>
Re: Calling next from sub <quednauf@nortel.co.uk>
Re: comp.lang.perl.announce redux <birgitt@hbg.citnet.de>
Re: Executing a Perl script from a hyperlink <quednauf@nortel.co.uk>
Re: Executing a Perl script from a hyperlink <gwynne@utkux.utk.edu>
File Info (Darren Ferguson)
Re: File Info <Tony.Curtis+usenet@vcpc.univie.ac.at>
Re: help a newbie, please! <quednauf@nortel.co.uk>
Re: hiding user input (Miguel Cruz)
Re: hiding user input (Miguel Cruz)
Re: hiding user input (Miguel Cruz)
Re: hiding user input birgitt@my-dejanews.com
Re: hiding user input <rra@stanford.edu>
Re: hiding user input (Chris Nandor)
MSDEV & OLE Automation eoloughlin@my-dejanews.com
Re: Perl Docs.. forget the original post <dgris@rand.dimensional.com>
Re: Perl Docs.. forget the original post (Chris Nandor)
Re: Premature end of script headers & Exec format error <perlguy@inlink.com>
Re: Setting $ENV{LD_LIBRARY_PATH} doesn't work <remco@xray.bmc.uu.se>
Re: Teaching Perl <jdporter@min.net>
What is the bottleneck here? (Miguel Cruz)
Re: When is the "Perl Cookbook" coming out? (Chris Nandor)
Re: Win32::Registry module missing (Scott Willsey)
Special: Digest Administrivia (Last modified: 12 Mar 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 6 Aug 1998 11:26:17 GMT
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: But what about "baz"? (Was: "foo" and "bar")
Message-Id: <6qc3sp$qac$1@csnews.cs.colorado.edu>
Where I come from, after "foo" and "bar" we would use "glarch". But then,
there were people who called a "!" a "shriek" and not a "bang", and who
never ever pronounced "/etc" as "etsy", but more as "setchra".
--tom
--
"Software is like sex: It's better when it's free." (Linus Torvalds, from
FSF T-shirt)
------------------------------
Date: Thu, 06 Aug 1998 10:52:09 +0100
From: "F.Quednau" <quednauf@nortel.co.uk>
Subject: Re: Calling next from sub
Message-Id: <35C97CC9.21120844@nortel.co.uk>
Patrick Clauberg wrote:
>
> Hi everybody,
>
> Does anybody know a way to "remote control" the foreach thing?
@arr = qw /1 2 3 4/;
sub a_sub { print "hi, $thing\n"; next L; print "ho, $thing\n"; }
L: for $thing(@arr) {
if ($thing !=2) { print "$thing\n" }
else { &a_sub }
}
Gives output:
1
hi, 2
3
4
You see, it's possible. But it isn't a nice program flow, somehow. I
would always try to keep the next calls in the loop.
HTH
--
____________________________________________________________
Frank Quednau
http://www.surrey.ac.uk/~me51fq
________________________________________________
------------------------------
Date: Thu, 06 Aug 1998 05:35:58 +0000
From: Birgitt Funk <birgitt@hbg.citnet.de>
Subject: Re: comp.lang.perl.announce redux
Message-Id: <35C940BE.259C84F0@hbg.citnet.de>
Russ Allbery wrote:
>
>
> I don't know if anyone has pointed this out yet, but....
>
> de.comp.lang.perl
> fj.comp.lang.perl
> fr.comp.lang.perl
> han.comp.lang.perl
> it.comp.lang.perl
> no.it.programmering.perl
> relcom.comp.lang.perl
>
> would seem to be the appropriate places to post articles about Perl in
> German, Japanese, French, Korean, Italian, Norwegian, and Russian.
Yes, posts who discuss technical Perl questions in the regional
communities, but _announcements_ about regional Perl developments,
like books, events, conferences, contests, articles, journals,
and the rare possibility to have a new program announced *only*
in a regional group in the local language, I would like to find
in c.l.p.a translated into English and pooled together.
>
> It's worth keeping in mind that, except for soc.culture.* which has its
> own rules, the Big Eight including comp.* are the de facto world-wide
> *English* hierarchy and really should be under en.*. They aren't pretty
> much solely for historical reasons.
>
> While this is not to say that posts in other languages should be banned,
> it does indicate that if someone is writing *primarily* in another
> language, they'd be better served in a different hierarchy. For one
> thing, all administrative business in the Big Eight related to newsgroup
> creation is done exclusively in English because the news administrators
> that carry these hierarchies have English in common more than any other
> language, so people using other languages will eventually find that they
> cannot easily participate in debate surrounding creating, removing, or
> renaming the groups they're reading here.
>
> Please also keep in mind that such hierarchies as de.* are often not
> regional hierarchies, but rather are chartered as *world-wide* hierarchies
> in the languages in question.
Thanks for mentioning this so clearly here.
Still, that's exactly why I thought that *only* in c.l.p.a
one shouldn't restrict accepting posts in other languages
than English (which Mr. Schwartz said he hasn't done in the
past anyhow because he got so few and was mostly able to get
the translations), but if he can't get a translation to
evaluate, to post them anyway, so that the chance of getting
one is enhanced.
Reason:
I would not want to scan several regional perl NGs for
*announcements* about events, books, articles, contests,
conferences etc, but I would like to be able to be
informed about them in *one* NG, and that is c.l.p.a.
In that sense c.l.p.a is an exception - at least for me -.
More important posts about new Perl modules and programs,
technical developments would be made anyhow by the developers
in English, so the whole issue is a tiny side problem at
the most and easily to be addressed and solved.
Birgitt Funk
------------------------------
Date: Thu, 06 Aug 1998 10:43:30 +0100
From: "F.Quednau" <quednauf@nortel.co.uk>
Subject: Re: Executing a Perl script from a hyperlink
Message-Id: <35C97AC2.162353B8@nortel.co.uk>
Russ Allbery wrote:
>
> Yes, probably, although this is a CGI question and not a Perl question and
> therefore would be better in comp.infosystems.www.authoring.cgi. You can
> set the src attribute of the <img> tag to point at a CGI script, provided
> that CGI script returns a graphic.
Wouldn't that make it a html question :) ?
--
____________________________________________________________
Frank Quednau
http://www.surrey.ac.uk/~me51fq
________________________________________________
------------------------------
Date: Thu, 6 Aug 1998 06:25:40 -0400
From: "Bob Gwynne" <gwynne@utkux.utk.edu>
Subject: Re: Executing a Perl script from a hyperlink
Message-Id: <6qc0i8$d9e$1@gaia.ns.utk.edu>
Use CGI.pm. See Official Guide to Programming with CGI.pm, pp. 117 ff.
Bob Gwynne
Rick Ryan wrote in message <6qba0v$n9l$1@camel25.mindspring.com>...
>I have a page that has an <img=> command that points back to a gif file. Is
>there any way to make it point to and execute a perl script (without a
>submit form)?
>
>Thanks, oh gurus of the Perl!
>
>rickryan@mindspring.com
>
>
>
>
------------------------------
Date: Thu, 06 Aug 1998 11:08:39 GMT
From: Darren@introdesign.com (Darren Ferguson)
Subject: File Info
Message-Id: <35c98e76.8078055@news.demon.co.uk>
Does anyone have a couple of quick lines of Perl to demonstrate
how to get info on a file size, permissions and creation date?
I don't need to do anything with them, just display....
Thanks
Darren
------------------------------
Date: 06 Aug 1998 13:23:37 +0200
From: Tony Curtis <Tony.Curtis+usenet@vcpc.univie.ac.at>
Subject: Re: File Info
Message-Id: <7x1zqu4ame.fsf@fidelio.vcpc.univie.ac.at>
Re: File Info, Darren <Darren@introdesign.com> said:
Darren> Does anyone have a couple of quick lines of Perl to
Darren> demonstrate how to get info on a file size,
Darren> permissions and creation date?
perldoc -f stat
perldoc File::stat (friendlier interface)
Both have a couple of short examples.
hth
--
Tony Curtis, Systems Manager, VCPC, | Tel +43 1 310 93 96 - 12; Fax - 13
Liechtensteinstrasse 22, A-1090 Wien, | <URI:http://www.vcpc.univie.ac.at/>
"You see? You see? Your stupid minds! | private email:
Stupid! Stupid!" ~ Eros, Plan9 fOS.| <URI:mailto:tony_curtis32@hotmail.com>
------------------------------
Date: Thu, 06 Aug 1998 11:11:20 +0100
From: "F.Quednau" <quednauf@nortel.co.uk>
Subject: Re: help a newbie, please!
Message-Id: <35C98148.363A2CE6@nortel.co.uk>
Jianjun Feng wrote:
>
> I am running a server(Apache) on my Win95. Perl is installed in C:\Perl
> directory.
>
> I borrowed a very simple perl script and tried to use it in my server.
> The first line in the script is written for unix system: something like
> " #!/usr/bin/perl". How can i do the same thing for win95, or can i do
> it in win95 at all?
> If I could make the simplest thing done, I will have a good chance to
> learn the real perl things. But the problem is where I shall start
> from?
Start with www.perl.com. See some Perl introduction. Then you should go
straight to the Win32 FAQ.
http://www.ActiveState.com/support/faqs/win32/ - This FAQ is geared
towards ActivestatePerl.
ftp://unix.hensa.ac.uk/mirrors/perl-CPAN/doc/FAQs/nt/Perl_for_Win32_FAQ.html
- Is more general, but fairly old. The author once promised to update
it, but time is always so fast. SO the FAQ situation isn't optimal in
win32 terms, I admit. But fair enough to get you started. To your
question: Make win95 know the .pl extension, associating it with the
Perl interpreter. There is no such thing as the shebang line on that
system.
--
____________________________________________________________
Frank Quednau
http://www.surrey.ac.uk/~me51fq
________________________________________________
------------------------------
Date: 6 Aug 1998 10:17:53 GMT
From: mnc@diana.law.yale.edu (Miguel Cruz)
Subject: Re: hiding user input
Message-Id: <6qbvsh$cc8$1@news.ycc.yale.edu>
In article <6q9ssh$mk7$8@info.uah.edu>, Greg Bacon <gbacon@cs.uah.edu> wrote:
>: 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.
Of course it does. Don't you remember all those times that people took you
to task for not making any shitty posts?
miguel
------------------------------
Date: 6 Aug 1998 10:15:18 GMT
From: mnc@diana.law.yale.edu (Miguel Cruz)
Subject: Re: hiding user input
Message-Id: <6qbvnm$caa$1@news.ycc.yale.edu>
Steve Linberg <linberg@literacy.upenn.edu> wrote:
> 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.
Be careful! If you killfile everyone grousing in this thread, it'll be the
last you'll see of clpm.
miguel
------------------------------
Date: 6 Aug 1998 10:30:34 GMT
From: mnc@diana.law.yale.edu (Miguel Cruz)
Subject: Re: hiding user input
Message-Id: <6qc0ka$d4t$1@news.ycc.yale.edu>
[ posted and mailed ]
Gary L. Burnore <whatpartofdontemailme@dontyouunderstand> wrote:
>>That doesn't quite make it so. What if I "warn" my neighbor that if he
>>doesn't stop driving a blue Toyota then I will report him for harassing me?
>
>If your neighbor continues to park INSIDE YOUR HOUSE? YES. The fact that
>you'd let him, is YOUR problem.
Nope, if my neighbor parks his blue Toyota in my house, it is not
harassment, it is trespassing. I chose something that was legal for a
reason, you know.
miguel
------------------------------
Date: Thu, 06 Aug 1998 10:56:49 GMT
From: birgitt@my-dejanews.com
Subject: Re: hiding user input
Message-Id: <6qc25h$5lr$1@nnrp1.dejanews.com>
In article <m3k94oww1t.fsf@windlord.Stanford.EDU>,
Russ Allbery <rra@stanford.edu> wrote:
> Maybe it's a Usenet generation thing, but I'm of the opinion that the fact
> that the net has a collective memory of about two weeks is a *good* thing.
> I can't count the number of people I've seen grow up on Usenet, some
> taking longer than others, gradually becoming valuable posters after
> really drastically bad starts. What does it really matter if someone was
> a flaming jerk two years ago if they aren't any more?
>
> > I wrote a little bot named Mortimer last night that will monitor clpm
> > and automatically repost any X-No-Archive messages without that header.
> > Unless someone can provide a compelling reason not to, I am going to
> > start Mortimer monitoring this group later today, and this will
> > hopefully no longer be an issue.
>
> Um.
>
> Don't.
>
> If you do, I'll have to contact your ISP and try to convince them to shut
> it down. That's spamming as far as I'm concerned; it's network abuse,
> clear and simple, and is absolutely not acceptable.
>
> People have the right to say that DejaNews is not allowed to make money
> off of their posts.
>
Oh, I would agree strongly, but I don't understand how Dejanews
makes money of the archives.
I got access to My DejaNews at no other additional cost than I
have to pay to get www access through my local ISP.
Who pays for me being able to access the archives ? From
whom does DejaNews gets money to provide them ?
The only thing I understood so far, is that they earn money
through selling advertisement space. And I certainly don't like
their dependency from advertisers or partners like AMAZON
for example.
It's not clear to me to whom they sell the archives ?
Sorry for my cluelessness and ignorance and off-topic question
again - but I would like to get a clue.
Birgitt Funk
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
------------------------------
Date: 06 Aug 1998 04:22:07 -0700
From: Russ Allbery <rra@stanford.edu>
Subject: Re: hiding user input
Message-Id: <m3u33qnyn4.fsf@windlord.Stanford.EDU>
birgitt <birgitt@my-dejanews.com> writes:
> Oh, I would agree strongly, but I don't understand how Dejanews makes
> money of the archives.
> I got access to My DejaNews at no other additional cost than I have to
> pay to get www access through my local ISP. Who pays for me being able
> to access the archives ? From whom does DejaNews gets money to provide
> them ?
Advertisers. The banner ads are paying for it.
> The only thing I understood so far, is that they earn money through
> selling advertisement space. And I certainly don't like their dependency
> from advertisers or partners like AMAZON for example.
Precisely.
--
#!/usr/bin/perl -- Russ Allbery, Just Another Perl Hacker
$^=q;@!>~|{>krw>yn{u<$$<[~||<Juukn{=,<S~|}<Jwx}qn{<Yn{u<Qjltn{ > 0gFzD gD,
00Fz, 0,,( 0hF 0g)F/=, 0> "L$/GEIFewe{,$/ 0C$~> "@=,m,|,(e 0.), 01,pnn,y{
rw} >;,$0=q,$,,($_=$^)=~y,$/ C-~><@=\n\r,-~$:-u/ #y,d,s,(\$.),$1,gee,print
------------------------------
Date: Thu, 06 Aug 1998 08:56:41 -0400
From: pudge@pobox.com (Chris Nandor)
Subject: Re: hiding user input
Message-Id: <pudge-0608980856410001@192.168.0.3>
In article <6qabuj$l2e@mozo.cc.purdue.edu>, gebis@noble.ecn.purdue.edu
(Michael J Gebis) wrote:
# pudge@pobox.com (Chris Nandor) writes:
# }I have never thought this, seen it, or agreed to it. FAQs are not allowed
# }here just because there is a moderated group. FAQs suck in any forum.
# }There is never any excuse for routinely asking FAQs of any Usenet group.
# }perlfaq is big, and even I and others who know it well occasionally ask a
# }FAQ, because we forget it is a FAQ. But if you have time to bother
# }others, you have time to grep the FAQ.
#
# I think most people agree with the point: FAQs suck.
#
# I think that the argument is about: It's ok to insult FAQ askers, or post
# reponses that provoke flames, or be generally pedantic about it to the
# detrement to all the goodly, non-faq-askin' folk like myself.
#
# After all, nobody complains when FAQs are answered with, "See the faq,
# look for 'Exporter'." It's only when people mix in a personal attack
# with their answer that things get out of control.
Well, sometimes people DO complain when responded to nicely. I get this
all day long on EFNet #perl, and used to see it on clpmisc when I read a
lot of the posts. Regardless, it is only human to react negatively when
you see the same careless questions all the time.
For example, there is no excuse to posting a question about CGI in
clp.misc. None. If you bother to read Nat's FAQ before you post, as
there is no excuse for not doing, then you would not post a CGI question.
If you were not being completely careless and bent on wasting other
people's time instead of your own, you WOULD NOT post CGI questions here.
Yes, sometimes more legitimate questions are answered in a negative
fashion. But it is reasonable. When cops are in a gunfight with armed
robbers in ski masks, you can't blame the cops too much if they shoot a
ski instructor that happens to be walking past.
--
Chris Nandor mailto:pudge@pobox.com http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6'])
------------------------------
Date: Thu, 06 Aug 1998 10:38:26 GMT
From: eoloughlin@my-dejanews.com
Subject: MSDEV & OLE Automation
Message-Id: <6qc133$4is$1@nnrp1.dejanews.com>
Hi,
I'm trying to get a nightly build running by starting MSDEV from a perl
script using OLE automation. The script works fine when run interactively but
when run via the 'at' command, MSDEV throws up an error dialog that tells me
there's been a 'runtime error!' and nothing else.
My scheduler service is running with administrator privileges and the job is
submitted with the /interactive switch. I don't think the problem is with the
perl script - everything's fine when run from the command line.
Any help would be most appreciated - I've no idea what exactly is wrong with
DevStudio and it doesn't seem to create a log file or send anything to the
event log.
Thanks,
Ed O'Loughlin.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
------------------------------
Date: Thu, 06 Aug 1998 12:22:06 GMT
From: Daniel Grisinger <dgris@rand.dimensional.com>
Subject: Re: Perl Docs.. forget the original post
Message-Id: <6qc6d7$60r$1@rand.dimensional.com>
In article <35C974DF.B1AC1CEA@dead.end.com>
no.uce@dead.mailbox.com wrote:
>All I can say is this - if the gurus had had bad tempered, ecclectic, obtuse
>and sometimes downright abusive lecturers with bad communication skills
>perhaps they would have a different attitude now. They don't care, you're
>right, but if they don't then why are they writing documentation that is
>supposed to expalain something.
I don't claim to be one of the gurus, but as one of the people who
voluntarily spends his own time reading and patching the documentation
I find the above characterization to be more than a little unfair. It
is easy to be critical of the documentation when you've never written
any, but rather less so after you have.
> Well the QURGE function is just
>like the C QURGE. Great, so do I have to learn C just so I can understand
>what the function does? Or UNIX, or AWK, or SED, or SHELL?
Yes, that's exactly what that means. References to the C documentation
mean that the exact implementation of that feature is dependent upon
the implementation in a particular C library. If you don't know C,
you probably should not use the feature.
I'm sorry that this is a shock, but perl is a unix tool. It has more
than 10 years development under various unix flavors and is permeated
with unixisms at every step. This will change, slowly, as perl becomes
more entrenched in cultures using non-unix systems (although it is
interesting to note that what is actually happening is that non-unix
platforms are becoming more unix-like, but the effect is the same).
Until it has changed, if you want to really understand perl you
have to know unix. And C. Sorry.
>Don't get me wrong
>I dislike people who try to get me to think for them just as much as the next
>user, but these references are just as lazy, because they make me think for
>whoever wrote it, because they couldn't be bothered finding a better way of
>saying it.
Patches are welcome.
dgris
--
Daniel Grisinger dgris@perrin.dimensional.com
"No kings, no presidents, just a rough consensus and
running code."
Dave Clark
------------------------------
Date: Thu, 06 Aug 1998 08:50:33 -0400
From: pudge@pobox.com (Chris Nandor)
Subject: Re: Perl Docs.. forget the original post
Message-Id: <pudge-0608980850330001@192.168.0.3>
In article <35C974DF.B1AC1CEA@dead.end.com>, no.uce@dead.mailbox.com wrote:
# All I can say is this - if the gurus had had bad tempered, ecclectic, obtuse
# and sometimes downright abusive lecturers with bad communication skills
# perhaps they would have a different attitude now.
Most gurus probably did meet lot of people like this on their way to
gurudom, which is probably why they are the way they are: they feel this
"abuse", as you call it, which is not really abuse, is the best way to do
things.
# Don't get me wrong
# I dislike people who try to get me to think for them just as much as the next
# user, but these references are just as lazy, because they make me think for
# whoever wrote it, because they couldn't be bothered finding a better way of
# saying it.
If you have a problem with the docs, submit a patch or a comment to the
author or maintainer of said docs. I find the perl docs to be the best
for any software package I've ever seen, commercial or open. And I don't
know awk, barely know sed, and when I started I knew very little Unix, sh,
or C. I still know very little C. Perl was designed to work with all of
these things in similar ways as these things, so there are two problems:
1. you cannot hope to understand Perl fully unless you understand the
others reasonably well
2. if the Perl docs took time to explain these other things so you
could fully understand Perl, they would be three times as large!
--
Chris Nandor mailto:pudge@pobox.com http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6'])
------------------------------
Date: Thu, 6 Aug 1998 11:52:54 GMT
From: Brent Michalski <perlguy@inlink.com>
Subject: Re: Premature end of script headers & Exec format error
Message-Id: <35C99916.62B060F6@inlink.com>
Jim Fairbrother wrote:
>
> Can anyone help me - I am getting errors on this code trying to put a
> picture in the HTML output from a Perl program on a Linux machine:
>
> # Notify FairBrothers
> $fairmail = 'fairbrothers@smart.net';
> mailto $fairmail -s 'You have a new Order $TotalCost';
^^^^^^ mailto is NOT a Perl command, nor is it a program on your Linux
machine!
Try something like:
$command="mail $fairmail -s 'You have a new Order $TotalCost'";
system($command);
... SNIP ...
> print "<IMG ALIGN=middle SRC="thankyou.gif">\n";
^ ^
Change those to \"
> I have tried every combination of ",' and no " or ', but they seem to
> still give the same
> error. I set the permissions to 777 on the gif file and if I change the
> location, it gives me
> a "can't find" error, so I think I have the directory/location okay.
>
> The errors in the error log are:
>
> Can't call method "mailto" in empty package "fairbrothers@smart.net"
> at /home/fairbrothers/www/cgi-bin/verify.pl line 52.
^^^^^^^^^^^^^^^^^^ CLUE ^^^^^^^^^^^^^^^^^^^^^^^
Get this error fixed FIRST, then see if your graphic displays properly.
HTH,
Brent
------------------------------
Date: 06 Aug 1998 12:01:08 +0200
From: Remco Wouts <remco@xray.bmc.uu.se>
Subject: Re: Setting $ENV{LD_LIBRARY_PATH} doesn't work
Message-Id: <m3hfzqwhsr.fsf@xray.bmc.uu.se>
hivnor@shore.net (Todd Hivnor) writes:
> I get DynaLoader errors for the Oracle driver unless I set
> LD_LIBRARY_PATH. But the bizzare thing is that I have to set
> LD_LIBRARY_PATH in a csh script which spawns my Perl script.
Nothing strange with that. Do you really think that the environment
for the perl interpreter changes if you set and environment variable
within your perl script?? I wouldn't think so. Try the following as
your shebang line(s):
#!/bin/sh -- # -*- perl -*-
eval 'exec env LD_LIBRARY_PATH=whatever /usr/bin/perl $0 ${1+"$@"}'
if $running_under_some_shell;
#follow with the rest of your script
--
Remco Wouts remco@xray.bmc.uu.se | Dept. of Biochemistry, Uppsala University
tel/fax:+46-18-4714642/511755 | PO Box 576, S-751 23 Uppsala, Sweden.
WinErr: 01A Operating system overwritten - Please reinstall all your
software. We are terribly sorry.
------------------------------
Date: Thu, 06 Aug 1998 08:56:47 -0400
From: John Porter <jdporter@min.net>
Subject: Re: Teaching Perl
Message-Id: <35C9A80F.2C34@min.net>
Steve Palincsar wrote:
>
> By leaving out regular expressions you have omitted what is probably
> its most powerful unique feature. Also - a beginning intro IMO
> doesn't need to get into references or what you describe as subroutine
> semantics.
I'm sorry, Steve, I have to respectfully disagree.
While regex is important, and should be touched on,
an entire course could be built on Friedl's book.
But references are essential, since without them
you can't have perl's powerful complex data structures,
let alone it's object-oriented capabilities.
(You'd have perl4, basically.)
And while I'm not sure what Daniel meant by "subroutine
semantics", I think it's safe to say that subroutines
are an essential, fundamental feature of this (and any)
language, and must be covered in sufficient depth.
--
John Porter
------------------------------
Date: 6 Aug 1998 10:44:09 GMT
From: mnc@diana.law.yale.edu (Miguel Cruz)
Subject: What is the bottleneck here?
Message-Id: <6qc1dp$dsn$1@news.ycc.yale.edu>
I have cannibalized the unix domain socket server example from 'man perlipc'
page 15. I added all sorts of things, but the network part is basically the
same.
Opening connections takes much longer than I'd expect - about 1/2 second. Is
this a side-effect of that particular code, of forking off about 20K worth
of Perl, or of the way that unix domain sockets work?
Thanks for any tips.
miguel
------------------------------
Date: Thu, 06 Aug 1998 08:41:52 -0400
From: pudge@pobox.com (Chris Nandor)
Subject: Re: When is the "Perl Cookbook" coming out?
Message-Id: <pudge-0608980841530001@192.168.0.3>
In article <35C8C075.3719B8F9@hotmail.com>, Digital Puer
<digital_puer@hotmail.com> wrote:
# Does anyone know when O'Reilly is going to release "The Perl Cookbook"?
# I would like to order this interesting book from bookpool or amazon
# sometime soon.
It is coming out within the next week or so, in time for The Perl
Conference, and is already available for purchase (backorder purchase, of
course) through Amazon.
http://pudge.net/macperl/books.html
It appears to be doing very well in Amazon sales, so far.
--
Chris Nandor mailto:pudge@pobox.com http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6'])
------------------------------
Date: Thu, 06 Aug 1998 03:21:54 GMT
From: Scott_A_Willsey@ccm.fm.intel.com (Scott Willsey)
Subject: Re: Win32::Registry module missing
Message-Id: <35ce20c0.448765630@ornews.intel.com>
On Wed, 05 Aug 1998 09:49:52 +0200, Pep Mico <pep_mico@hp.com> wrote:
>
>This is the message that I've received:
>
>
>You need to install the OLE package.
>
>With your internet connection active, run ppm.pl in your ActiveState's bin
>directory, and type "install Win32-OLE". This is how you install modules and
>packages available for ActivePerl.
>
>
>Pete (David Grove)
>pete@ActiveState.com
>ActiveState Tool Corp. - Professional Tools for Perl Developers
>
That's all fine and dandy, but ActiveState's packages web page and
their ppm.pl don't always work as advertised. Right now I time out
trying to install via ppm.pl, and their web page can't find the
packages when you try to install or view more info about them.
Not very useful. Broken distribution, broken package manager.
ACTIVESTATE: Please put the files in an updated 5.005 ActivePerl
install file, and fix the package downloader/installer. Thanks.
Scott
-----------------------------------------------------
I don't speak for Intel, and they don't speak for me.
If they did, I wouldn't get to yell at all the
California drivers!
------------------------------
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 3374
**************************************