[9524] in Perl-Users-Digest
Perl-Users Digest, Issue: 3118 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Jul 10 12:07:31 1998
Date: Fri, 10 Jul 98 09:01: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 Fri, 10 Jul 1998 Volume: 8 Number: 3118
Today's topics:
Re: new charter and moderator for comp.lang.perl.announ (Mike Stok)
Re: new charter and moderator for comp.lang.perl.announ <gnat@frii.com>
Re: new charter and moderator for comp.lang.perl.announ <dgris@rand.dimensional.com>
Re: new charter and moderator for comp.lang.perl.announ (Raphael Manfredi)
Re: new charter and moderator for comp.lang.perl.announ (Jeffrey R. Drumm)
Re: new charter and moderator for comp.lang.perl.announ <gnat@frii.com>
Newbie help: Win32 error (Kevin Daniel Weiss)
Perl Bug? (was Bizarre copy of ARRAY in aassign?) justinb@ignored.cray.com
Perl hashes equate to VB Script Recordsets in ASPs, rig <pearse@mail.shebang.net>
Re: Perl hashes equate to VB Script Recordsets in ASPs, <pearse@mail.shebang.net>
Problems creating files <ggarces@arrakis.es>
Re: Problems creating files (brian d foy)
Re: remove the first k lines of a string (Tad McClellan)
Re: remove the first k lines of a string (Douglas Wilson)
Re: remove the first k lines of a string <jdporter@min.net>
Re: Removing the ^M character <dmehta@webspan.net>
Re: System calls: both STDOUT and return value? mmlenz@my-dejanews.com
Taking info from tags (not ness. HTML) <JDobson@rnib.org.uk>
Re: Where is perldoc? (Patrick Timmins)
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 10 Jul 1998 14:22:13 GMT
From: mike@stok.co.uk (Mike Stok)
Subject: Re: new charter and moderator for comp.lang.perl.announce
Message-Id: <6o582l$brr@news-central.tiac.net>
In article <35A60EB9.6BEFDFFA@nortel.co.uk>,
F.Quednau <quednauf@nortel.co.uk> wrote:
>Jeffrey R. Drumm wrote:
>>
>> ... but there are definitely some commercial products out there
>> that are (IMHO) of TREMENDOUS interest to the Perl community. Especially the
>> Magnetic Perl Kits. :-)
>
>DANG! Now you've made me curious! What are the Magnetic Perl kits ?
>Are they those little things that you stick notes to the fridge with?
>Probably a microscopic version of the kitchen management script writtenm on it.
http://www.tpj.com/tpj/poetry or a subscription to the oh so reasonably
proced journal are a couple of ways to find out...
Hope this helps,
Mike
--
mike@stok.co.uk | The "`Stok' disclaimers" apply.
http://www.stok.co.uk/~mike/ | PGP fingerprint FE 56 4D 7D 42 1A 4A 9C
http://www.tiac.net/users/stok/ | 65 F3 3F 1D 27 22 B7 41
stok@colltech.com | Collective Technologies (work)
------------------------------
Date: 10 Jul 1998 08:51:50 -0600
From: Nathan Torkington <gnat@frii.com>
Subject: Re: new charter and moderator for comp.lang.perl.announce
Message-Id: <5qbtqx3gjd.fsf@prometheus.frii.com>
bart.mediamind@tornado.be (Bart Lateur) writes:
> Just how many big-time companies are you talking about? Not too many, I
> would think.
Nope, not many at all.
> And those few(?) should actually have something new to say, in order to
> pass. Not just new commercials for the same old product.
Amen. And I'd be happy with that in the charter. In fact, my
suggestion for the new charter said:
|> To avoid clutter, don't announce changes to already announced software
|> unless the change represents a major advance or a significant security
|> bugfix.
Nat
------------------------------
Date: Fri, 10 Jul 1998 15:10:23 GMT
From: Daniel Grisinger <dgris@rand.dimensional.com>
Subject: Re: new charter and moderator for comp.lang.perl.announce
Message-Id: <6o5a60$9hq$1@rand.dimensional.com>
[posted to comp.lang.perl.misc and mailed to the cited author]
In article <35acf116.10450909@news.tornado.be>
bart.mediamind@tornado.be (Bart Lateur) wrote:
>Nathan Torkington wrote:
>
>>It's difficult to do that without letting the bigtime folks through.
>
>Just how many big-time companies are you talking about? Not too many, I
>would think.
Let's see-
IBM is now shipping Apache with some of their e-commerce packages.
My impression is that it will come with modperl.
Microsoft ships an ancient version of perl with the NT Server
Resource Kit.
I have an Oracle cd that includes oraperl.
I have a Sybase cd that includes sybperl.
As open source software becomes a more palatable option to the
Pointy-Hairs we are going to see perl shipping with more and more
commercial packages; we have to be ready to deal with this (and a
new clpa charter must take this into account).
My opinion is that no distinction should be made based on who
is doing the announcing, leave it as `if it helps perl programmers
with the task of programming perl, it is acceptable'. This helps
shield whoever the moderator is from legal issues since it provides
an easy answer to why something was rejected, while not forcing
the moderator to make any decision based upon the origin of the
software.
The issue shouldn't be `is it written in perl', or `is it open
sourced', or `do we like this company', the issue should be
`does this help people program perl'. That's it, it's not tough :-).
>And those few(?) should actually have something new to say, in order to
>pass. Not just new commercials for the same old product.
Yes, announcements should be based on the revision of the perl API
in a commercial product. If the perl interface remains the same
from one release of <insert large commercial software package>
to the next, who cares if a new version of the package has been
released. On the other hand, if the perl interface has changed
then it should be announced.
Regards,
Daniel
--
Daniel Grisinger dgris@perrin.dimensional.com
"No kings, no presidents, just a rough consensus and
running code."
Dave Clark
------------------------------
Date: 10 Jul 1998 17:17:22 +0100
From: Raphael_Manfredi@grenoble.hp.com (Raphael Manfredi)
Subject: Re: new charter and moderator for comp.lang.perl.announce
Message-Id: <35a63082.0@isoit370.bbn.hp.com>
Quoting Russ Allbery <rra@stanford.edu> from comp.lang.perl.misc:
:Randal Schwartz <merlyn@stonehenge.com> writes:
:
:> I either need a COMPLETELY objective ruling on commercial postings (heh,
:> fat chance :), or I need to not do the job. It's that simple.
:
:I honestly recommend that you not do the job. Not the *whole* job. I
:think you do a great job of moderating the non-commercial content of the
:group. Just pick one of the people who is willing to run the risk of
:being sued, appoint them comoderator for commercial content, and bounce
:everything that you see that you're unwilling to make a judgement on over
:their way.
Better yet: have the moderator live in a place where such lawsuits
are not even remotely thinkable, not to say feasible. In France, for
instance, nobody in his right mind would attempt a lawsuit for that,
and I strongly doubt any judge would even let a trial happen.
USENET is not owned by the USA, it is a worldwide medium that just happens
to be rooted there, historically.
The be-careful-or-I-shall-sue-you attitude is something that may happen
in the USA, sadly, but that's not something one should be proud about.
Justice in Europe has a well-established tradition of considering the spirit
of the law rather than its letter.
I'll stop right there, because it's starting to sound political, and that's
not the right place for discussing that any further.
Raphael
------------------------------
Date: Fri, 10 Jul 1998 15:21:18 GMT
From: drummj@mail.mmc.org (Jeffrey R. Drumm)
Subject: Re: new charter and moderator for comp.lang.perl.announce
Message-Id: <35a81be8.268856435@news.mmc.org>
[ posted to comp.lang.perl.misc and a courtesy copy was mailed to the cited
author ]
On Fri, 10 Jul 1998 13:32:06 GMT, Randal Schwartz <merlyn@stonehenge.com>
wrote:
>>>>>> "Jeffrey" == Jeffrey R Drumm <drummj@mail.mmc.org> writes:
>
>Jeffrey> Please, just let the moderator use common sense to determine
>Jeffrey> what should show up on c.l.p.a. It's not like anyone will be
>Jeffrey> sued for what the moderator deems inappropriate.
>
>I believe you highly overestimate the Pointy-Haired Bosses^WLawyers
>ability to distinguish "common sense" from "legal right". People get
>sued over much smaller matters. And given my current legal
>entanglements (even though I just got a bit of relief, thank the
>maker!), I'm *not* interested in the slightest additional liability
>exposure.
Well, OK, maybe 'common sense' doesn't quite make, um, sense. However, I think
we can get a reasonable amount of latitude for the moderator without hanging
his/her backside in the breeze, legally-speaking.
>I've been pretty fair so far at rejecting across-the-board for
>commercial stuff, so I could always use that as a trivial defense.
Err, you haven't _really_ (been fair) . . . so you can't (use it as a defense).
There _have_ been commercial postings in c.l.p.a. For example, txt2pdf, albeit
inexpensive, is still commercial. I'm sure you had reservations about approving
its announcement on c.l.p.a, and from what I can tell via a 5 minute dejanews
scan, it's the only commercial posting (aside from TPJ TOC announcements) that
has been seen there in quite a while.
>But what about the day when I accept two ORA book postings in one
>week, and then "Teach Yourself WebWhacking For Dummies" comes along
>and it's a truely ghastly book and the press release is full of
>capital letters and it has only one chapter on Perl, and so I reject
>it just because the POSTING looks bad? Boom. Lawsuit. You cannot
>have *discretion* without accepting liability for *choices*. I either
>need a COMPLETELY objective ruling on commercial postings (heh, fat
>chance :), or I need to not do the job. It's that simple.
I am by no means conversant with the legal issues surrounding moderation. I do
believe, however, that you can have a reasonable amount of discretion, as long
as the limits are well defined (thus the purpose of this thread, eh?) It seems
that your example above (along with a great many other questionable
submissions) could be dealt with by the addition of such clauses such as:
"All submissions must be formatted according to commonly accepted Usenet
standards. Any not meeting these criteria will be rejected. See (insert
reference here) for guidelines."
"Press releases for commercially sold material will be accepted only if a
significant (dammit, now we have to define "significant") portion of the
publication directly discusses and/or aids programming in the Perl language.
The moderator may request, at his/her discretion, a sample of the publication
for review. Refusal to supply samples will be grounds for the rejection of said
announcements. If requested, samples will be returned at the publisher's
expense after a suitable review period."
(I personally think the requirement to provide samples will go a long way to
reduce the number of commercial announcement requests, and I can see the above
covering not only print publications but software as well. I don't believe that
the above precludes a commercial announcement that the moderator perceives as
immediately valuable to the Perl community, since the request for samples is
discretionary).
"Announcements regarding Common Gateway Interface (CGI) applications will not
be accepted, as there are other, more relevant forums for the dissemination of
this information. However, announcements regarding modules that aid the Perl
programmer in CGI application development _may_ be accepted, assuming all other
requirements are met."
I'll probably think up more . . .
print "just another guy who may be in over his head\n";
--
Jeffrey R. Drumm, Systems Integration Specialist
Maine Medical Center - Medical Information Systems Group
drummj@mail.mmc.org
"Broken? Hell no! Uniquely implemented!" - me
------------------------------
Date: 10 Jul 1998 09:26:25 -0600
From: Nathan Torkington <gnat@frii.com>
Subject: Re: new charter and moderator for comp.lang.perl.announce
Message-Id: <5qaf6h3exq.fsf@prometheus.frii.com>
Daniel Grisinger <dgris@rand.dimensional.com> writes:
> The real issue is what the purpose of clpa should be. Should it be
> a general clearing house for all things perl related, or should it
> be a resource for announcements of things that will help perl programmers
> program perl (wow, this thread has been great for alliteration :-).
I finally realized why this argument makes me grind my teeth--you make
it sound like an either-or situation. It doesn't have to be this way.
Subject-tagging and killfiles lets each user have a different view of
the same newsgroup.
Would it make you happy (or happier, at least) if I tagged the
subjects of non-programming tools posts with [APP]? That way you'd be
able to killfile it and you'd only ever see a comp.lang.perl.announce
relevant to perl programming.
[APP] PerlMud 2.4 Announced
[APP] autopr0n.pl 6.9 Released
Geek::Code Released on CPAN
Latest CPAN Uploads
Perl Training in lower Manhattan
The Perl Conference 3.0 Call For Papers
Brand Spanking New Perl Journal Mailed
[APP] LotusNotes.pl 1.0 Released
I'm nervous about trying to subcategorize--saying [APP][COMMERCIAL] on
the subject line doesn't appeal to me. I feel like there's only room
for one tag. Either we divide on commercial vs non-commercial, or we
divide on application vs development (note to self: if something is an
application for Perl development, it gets counted as development).
Can you see this working? Does this fall under the category of can't
please all the people all the time? Is it worth trying?
Nat
Perhaps we could come up with a c.l.p.a code, like the geek code.
a++c+C++--L++X+W+
(translation: a big commercial app with no C++, written by Larry Wall
to do with XML and the web :-)
------------------------------
Date: 10 Jul 1998 14:43:59 GMT
From: kevinw@blue.engin.umich.edu (Kevin Daniel Weiss)
Subject: Newbie help: Win32 error
Message-Id: <6o59bf$dmi@srvr1.engin.umich.edu>
A friend of mine downloaded perl ver. 5.004_02, and installed it "successfully".
However, when trying to run .prl scripts that work perfectly on my machine with
ver. 5.004_02, he gets the following error:
THIS PROGRAM MUST BE RUN UNDER WIN32.
The only difference he can see between our systems is that I am running Win95 B,
and he is running Win95 A.
Any ideas / suggestions?
Kevin Weiss
------------------------------
Date: 10 Jul 1998 10:42:04 -0500
From: justinb@ignored.cray.com
Subject: Perl Bug? (was Bizarre copy of ARRAY in aassign?)
Message-Id: <o8n90m1d86r.fsf@springer.cray.com>
(perhaps my original subject wasn't eye-catching enough?)
I'd like to know if I should run perlbug ;)
Hello, I've got a CGI program that runs okay on this version of perl :
springer<justinb>90% /opt/local/bin/perl5 -v
This is perl, version 5.003 with EMBED
built under irix_6_2 at Nov 10 1996 12:53:14
+ suidperl security patch
But fails weirdly with this version :
springer<justinb>91% /sw/pd/perl/5.004_o32/bin/perl -v
This is perl, version 5.004_04 built for IP25-irix
The specific error with the latter shows up in the error log as :
Bizarre copy of CODE in aassign at /data/web/wwwmn/cgi-bin/PRIVATE/query
line 515, <PASS> chunk 1
but when run under -d it gives :
Bizarre copy of ARRAY in aassign at /sw/pd/perl/5.004_o32/lib/perl5db.pl
line 1122, <IN> chunk 20.
Then, again :
springer<www>31% /sw/pd/perl/5.004_o32/bin/perl -c -w query
query syntax OK
and
springer<www>32% /opt/local/bin/perl5 -c -w query
query syntax OK
According to the Camel, "Bizarre copy of %s in %s" is a (P) class error,
meaning I should never see it. What to do (besides run under the older
version until I can figure it out)?
-justinb
--
Justin Banks - Silicon Graphics Inc. Eagan, MN
if the answer is the same whether you're programming in Perl,
C, or Visual Modula 17++ with JavaBeans and Digital Satellite
TV Support, it's not a Perl question.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc
------------------------------
Date: Fri, 10 Jul 1998 14:11:20 +0000
From: Robert Eric Pearse <pearse@mail.shebang.net>
Subject: Perl hashes equate to VB Script Recordsets in ASPs, right?
Message-Id: <35A62108.95EB0A03@mail.shebang.net>
Hey,
. . .so how can I 'MoveNext'?
With ASPs, I run my query, get a recordset. Then I iterate through with
something like this. . .
<%while not recordset.eof%>
<ul>
<li>Name:<%=recordset("name")%>
<li>Address:<%=recordset("address")%>
<li>Email:<%=recordset("email")%>
</ul>
<%recordset.movenext%>
With Perl, I make my query like this. . .
$sth = $dbh->query("select * from foo");
%hash = $sth->fetchhash;
This gets me a big ol' virtual table. I know I can use keys to get out
the value in a row. What is comparable to 'movenext;.
Also, when I run an SQL statement like (select * from foo where order by
bar) and set it to a hash, won't the hash sort of jumble it (or order it
sees best). I remember reading that the interpreter stores hashes in way
that might not equate to the way it was entered.
So, what do you think?
Cheers,
Robert
--
Robert Eric Pearse
pearse@mail.shebang.net
------------------------------
Date: Fri, 10 Jul 1998 15:07:56 +0000
From: Robert Eric Pearse <pearse@mail.shebang.net>
Subject: Re: Perl hashes equate to VB Script Recordsets in ASPs, right?
Message-Id: <35A62E4C.FD03A49B@mail.shebang.net>
I got it,
while ( %hash = $sth->fetchhash ) {
@keys = keys %hash;
@values = values %hash;
while (@keys) {
print pop(@keys),"=",pop(@values),"<br>\n";
}
print "<hr>\n";
}
But, the order comes out as
id=1
fulltitle=Advanced Civil Appellate Law Course 1995
articlefile=hatchell.a
fullcourse=
author=
year=1995
course=5adcivap
That's not the table field structure. What gives?
Thanks for being there <smooch>,
Robert
--
Robert Eric Pearse
pearse@mail.shebang.net
------------------------------
Date: Fri, 10 Jul 1998 14:07:37 +0200
From: "Guillermo Garcis" <ggarces@arrakis.es>
Subject: Problems creating files
Message-Id: <35a62049.0@news.arrakis.es>
I can4t create files putting: open NEW, "+>$PAGE" or die "Error opening
$PAGE\n$!";
i don4t know if the name is too long or i have to give permissions.
I tried too: open NEW, ">$PAGE" or die "Error opening $PAGE\n$!"; but it
don4t works....
Thanks.
------------------------------
Date: Fri, 10 Jul 1998 10:54:18 -0400
From: comdog@computerdog.com (brian d foy)
Subject: Re: Problems creating files
Message-Id: <comdog-ya02408000R1007981054180001@news.panix.com>
Keywords: from just another new york perl hacker
In article <35a62049.0@news.arrakis.es>, "Guillermo Garcis" <ggarces@arrakis.es> posted:
>I can4t create files putting: open NEW, "+>$PAGE" or die "Error opening
>$PAGE\n$!";
>i don4t know if the name is too long or i have to give permissions.
>I tried too: open NEW, ">$PAGE" or die "Error opening $PAGE\n$!"; but it
>don4t works....
what did the error message say? it should tell you why the file could
not be created.
--
brian d foy <comdog@computerdog.com>
CGI Meta FAQ <URL:http://computerdog.com/CGI_MetaFAQ.html>
Comprehensive Perl Archive Network (CPAN) <URL:http://www.perl.com>
Perl Mongers Travel Deals! <URL:http://www.pm.org/travel.html>
------------------------------
Date: Fri, 10 Jul 1998 07:22:38 -0500
From: tadmc@flash.net (Tad McClellan)
Subject: Re: remove the first k lines of a string
Message-Id: <e215o6.ft5.ln@localhost>
Database and tools for Uniweb (uwtools@cse.cuhk.edu.hk) wrote:
: I have a string consisting of certain number of lines. I want to remove
: the first k lines from it.
: E.g., $str = "1st\n2nd\n3rd\n4th\n5th\n";
: after removal of the first 3 lines, $str eq "4th\n5th\n";
$str =~ s/(.*\n){3}//; # delete the first three lines
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Fri, 10 Jul 1998 14:11:51 GMT
From: dgwilson@gte.net (Douglas Wilson)
Subject: Re: remove the first k lines of a string
Message-Id: <6o57f9$qbo$2@news-1.news.gte.net>
On 10 Jul 1998 09:20:30 GMT, Database and tools for Uniweb
<uwtools@cse.cuhk.edu.hk> wrote:
>I have a string consisting of certain number of lines. I want to remove
>the first k lines from it.
#Remove the first 3 lines
$n=3;
$str=~s/(.*?\n){$n}//;
print $str;
Hope that helps,
Douglas Wilson
------------------------------
Date: Fri, 10 Jul 1998 15:51:35 GMT
From: John Porter <jdporter@min.net>
Subject: Re: remove the first k lines of a string
Message-Id: <35A63A4B.14A1@min.net>
Database and tools for Uniweb wrote:
>
> I have a string consisting of certain number of lines. I want to remove
> the first k lines from it.
$str =~ s/(.*\n){$k}//;
--
John Porter
------------------------------
Date: Fri, 10 Jul 1998 10:57:26 -0400
From: "Devendra Mehta" <dmehta@webspan.net>
Subject: Re: Removing the ^M character
Message-Id: <6o5a5a$nnm$1@winter.news.erols.com>
Are you uploading or downloading the files as ascii as u should or using
binary. binary will add those ^M characters at the end of a line
mikane@shell3.ba.best.com wrote in message
<6o3287$rj0$1@nntp1.ba.best.com>...
>I am having trouble removing the ^M character from the end of a line.
>
>I have tried
>
>$line=~s/\r\n$//;
>$line=s/\r$//;
>$line=s/\n$//;
>
>neither is working for me.
>
>Is there another method?
>
>I want to keep carriage returns within $line and delete the trailing.
>
>
>Thanks
>
>
>Mike
>
>
------------------------------
Date: Fri, 10 Jul 1998 14:57:08 GMT
From: mmlenz@my-dejanews.com
Subject: Re: System calls: both STDOUT and return value?
Message-Id: <6o5a44$9r2$1@nnrp1.dejanews.com>
read about $? in perlvar
In article <6o3ji2$8bu$1@picasso.op.net>,
nospam@domain.com wrote:
>
> If I use backticks, then I can easily get the STDOUT of
> a system call:
>
> $out = `/bin/ls`;
>
> If I use system(), then I can easily get the return value
> of that same system call:
>
> $rt = system("/bin/ls");
>
> But how can I easily get *both* of these in one call?
> And if you can't, then why not, really?
>
> Here is some code which does not work.
> I think I just don't understand the pipe() function here:
>
> # START BAD CODE:
>
> open(SAVE_STDOUT, ">&STDOUT");
> pipe STDOUT,OUTPUT;
>
> $rc = system("ls");
>
> close STDOUT;
> $out = <OUTPUT>;
>
> open(STDOUT,"&>SAVE_STDOUT");
>
> print " Return value = $rc \n";
> print " Standard output = $out \n";
>
> # END BAD CODE
>
> So what is the right way to do this? I've searched all through
> the Camel book, the perlipc manpages, the FAQ. There's extensive
> instructions on how to handle filehandles, but nothing about
> this exact scenario. Is this really, honestly impossible to do?
> Am I the only one in the world who wants to do this?
> Why is it so difficult?
>
> PS: I don't think that IPC::Open3 will give you
> the return value of a system call, so it's not helpful here.
> Please correct me if I'm wrong about this. I've never
> seen an example of this using IPC::Open3.
>
> --
> ##--------------------------------
> ## John Nolan
> ## jpn acm org
> ##--------------------------------
>
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
------------------------------
Date: Fri, 10 Jul 1998 15:18:29 +0100
From: James Dobson <JDobson@rnib.org.uk>
Subject: Taking info from tags (not ness. HTML)
Message-Id: <35A622B5.D222D250@rnib.org.uk>
I've created a mail markup lang that I wish to use with perl. Is it
possable and !!simple!! to get perl to read attributes and what is
between tags.
e.g.
<MAIL VALUE="1" CONDITION="U"><TO>Mr X</TO><FROM>Mr
Y</FROM><SUBJECT>About that Y</SUBJECT><MESSAGE>Don't Y
me!</MESSAGE></MAIL>
I would like to the VALUE, CONDITION, FROM and SUBJECT into varibles to
display. There can be many emails in a file so the varibles will need to
be used more than once.
I've tried substitution but it is way to finicky as the message can be
on more than one line. I'm not sure if there is a simple answer I'd just
thought I'd ask to challenge people out there! (I'm finding it hard!!!
:-( )
James
------------------------------
Date: Fri, 10 Jul 1998 14:50:04 GMT
From: ptimmins@netserv.unmc.edu (Patrick Timmins)
Subject: Re: Where is perldoc?
Message-Id: <6o59ms$95s$1@nnrp1.dejanews.com>
In article <6o3nlh$fb8$1@gaia.ns.utk.edu>,
"Bob Gwynne" <gwynne@utkux.utk.edu> wrote:
> You must use perldoc as a command, followed by the name of the document you
> want to call. I suggest that you begin by typing "perldoc perldoc" (sans
> quotes) at the prompt. That will get you started.
>
> Bob Gwynne
> Speech Comm
> University of Tennessee
He already knows that he must use perldoc as a command. He said he was
"unable to call it from the Unix command line". And he doesn't have to follow
it by the name of a document he wants to call to figure it out. If he just
types 'perldoc' at the command line, the system will actually tell him "We
suggest you use 'perldoc perldoc' to get aquainted with the system.
Since he is not seeing this when he types 'perldoc' at the command line, then
either there was an incomplete Perl installation, as Quentin Fennessy
suggested, or the shell he is in is not looking for executables in the
directory in which 'perldoc' resides. See my earlier post regarding 'which
perl' and using an 'alias' command in the shell configuration file. It is
possible that the sysadmin has aliased perl but not perldoc, so even though
the two reside in the same directory, he can call perl yet not perldoc.
Patrick Timmins
U. Nebraska Medical Center
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
------------------------------
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 3118
**************************************