[8639] in Perl-Users-Digest
Perl-Users Digest, Issue: 2256 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Apr 6 04:07:24 1998
Date: Mon, 6 Apr 98 01:00:27 -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 Mon, 6 Apr 1998 Volume: 8 Number: 2256
Today's topics:
"URGENT!" requests (Andy Lester)
Re: "URGENT!" requests <arunas@a!nm.org>
Re: calling date from a server (John Stanley)
chdir in perliis buckaroo@albany.net
Re: chdir in UNIX: problem with the ~ <Mike_Lacey@Cargill.Com>
frames (Daniel Haack)
Re: frames <fozz@mail.xmission.com>
Help: on "format" (repost) <tkho@technologist.com>
HELP:installing CPAN on sun4/perl5.003 <NO-SPAM-gheil@gte.net>
Re: How do I strip newlines from a var <ljz@asfast.com>
Re: How do I strip newlines from a var <rjk@coos.dartmouth.edu>
Re: How do I strip newlines from a var <rjk@coos.dartmouth.edu>
Re: How do I strip newlines from a var <ljz@asfast.com>
Re: Is there a "Newsgroup" for Newbies to Perl? <rjk@coos.dartmouth.edu>
perl 5.004_04 on BSDi 3.1 otaku@hick.com
Re: Perl Installation Help... <mefe@TTusa.net>
Re: Problems calling Perl scripts andrew@ugh.net.au
Reading unix shell environment thru browser? raja@krdl.org.sg
what is a bucket? <gidon@gidon.com>
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 6 Apr 1998 05:13:08 GMT
From: petdance@maxx.mc.net (Andy Lester)
Subject: "URGENT!" requests
Message-Id: <6g9o94$qbu$1@usenet11.supernews.com>
I have an idea: Anybody who posts an URGENT! or EMERGENCY! request should
post the circumstances behind the urgency. "I was having sex with my
mistress in the server room and I knocked the Linux box over and the hard
drive crashed and so I've reinstalled everything but I still can't get
5_004_03 to build!"
This would inspire me to action far more than the implied subtext of "I
have no patience."
xoxo,
Andy
--
--
Andy Lester: <andy@petdance.com> http://tezcat.com/~andy/
Chicago Shows List: <shows@ChicagoMusic.com> http://ChicagoMusic.com/
------------------------------
Date: Mon, 6 Apr 1998 00:28:15 -0600
From: "Arunas Salkauskas" <arunas@a!nm.org>
Subject: Re: "URGENT!" requests
Message-Id: <35287458.0@news.cadvision.com>
Ditto.
I think that goes for any posting. A meaningful title means you get somebody
to look at your posting.
Of course, we're banging our heads against a wall, since the people who post
messages with such inane titles probably won't ever read this thread.
- Arunas Salkauskas
High Point Designs
www.highpointdesigns.com
Andy Lester wrote in message <6g9o94$qbu$1@usenet11.supernews.com>...
>I have an idea: Anybody who posts an URGENT! or EMERGENCY! request should
>post the circumstances behind the urgency. "I was having sex with my
>mistress in the server room and I knocked the Linux box over and the hard
>drive crashed and so I've reinstalled everything but I still can't get
>5_004_03 to build!"
>
>This would inspire me to action far more than the implied subtext of "I
>have no patience."
>
>xoxo,
>Andy
>
>--
>--
>Andy Lester: <andy@petdance.com> http://tezcat.com/~andy/
>Chicago Shows List: <shows@ChicagoMusic.com> http://ChicagoMusic.com/
>
------------------------------
Date: 6 Apr 1998 04:08:36 GMT
From: stanley@skyking.OCE.ORST.EDU (John Stanley)
Subject: Re: calling date from a server
Message-Id: <6g9kg4$ist$1@news.orst.edu>
In article <6g9fan$jtc$1@droppa.tpgi.com.au>, Brett <brett@moggy.com> wrote:
>'scuse me? How is it that you call the date from a server
What kind of server? How you get the date from it depends on what kind
of time server it is.
If it's an NTP server, you usually don't talk to it yourself, you allow
the NTP client daemon on your host to do it and then get the time from
your own host. Since doing that is already well documented, I'll assume
you know how to do that.
If you are trying to synchronize on the cheap, you can telnet to the
daytime port on the server. This is rather ugly and not precise to
better than a second. In perl terms, this would be done with:
open( T, "telnet server.name daytime |" ) || die "failed open: $!\n";
while(<T>){
$date = <T> if /Escape/;
}
There is also a time port that returns a binary time. You would need to
unpack $date to get the epoch time and then one of the already
documented epoch to text functions.
>and place it onto an HTML page?
open( H, ">html.page" ) || die "cannot open output: $!\n";
print H <<EOF;
<HTML><HEAD><TITLE>Time</TITLE></HEAD>
<BODY>The time is $date</BODY></HTML>
EOF
>Also, can you add/subtract hours from a server's date so that
>it matches the date in another country?
Sure, if you convert the text time into a number and know the difference
between zones in seconds.
>The problem is that I rent space on a server in the US, but I want to
>display Australian time on my page... how do I do it please.
They make you pay to get the time from a US server? Why not just find a
local system in Oz and get time from that?
------------------------------
Date: Mon, 06 Apr 1998 00:43:30 -0400
From: buckaroo@albany.net
Subject: chdir in perliis
Message-Id: <35285D72.3E52@albany.net>
i am having trouble with the chdir function in perl.
i am using perl32 & perliis (ver5 biuld 306) on a NT 4.0
server w/ sp3, here is a test script that i am working with...
print "Content-type: text/html\n\n";
print "woo-hoo <BR> \n";
$directory="\\test";
$new_dir="yada";
chdir($directory) or print "Couldn't chdir, $! <BR> \n";
mkdir($new_dir,0022) or print "Couldn't mkdir, $! <BR> \n";
@file_list = <*>;
foreach $filename (@file_list) {print ($filename."<BR> \n") };
when called from a command prompt on the sever it behaves as expected
producing the following output:
Content-type: text/html
woo-hoo <BR>
test1<BR>
test2<BR>
test3<BR>
test4<BR>
yada<BR>
and the yada directory is created in the c:\test directory
when caled via a web browser it produces the following output:
woo-hoo
FileSeek.cgi
lib
test
test.cgi
yada
and the directory yada is created in c:\inetpub\wwwroot\, the
location of the test.cgi script, the current directroy is never
changed by the chdir function.
any suggestions???
thanks....
------------------------------
Date: Mon, 6 Apr 1998 08:41:59 +0100
From: "Mike Lacey" <Mike_Lacey@Cargill.Com>
Subject: Re: chdir in UNIX: problem with the ~
Message-Id: <6ga103$lm1@wind.cargill.com>
I think that this is because the ~ constructions are Korn shell and not
Bourne based; Perl uses /bin/sh to do that kind of expansion as I remember.
Regards
Mike Lacey, Cargill PLC, UK
Sergey Alexandrov wrote in message <35265C09.1ACC@eden.rutgers.edu>...
>I can't get the chdir funciton to work when the expression starts with
>the ~ used in UNIX for home directories (ex. chdir("~bob/home))
>
>Does anyone know why?
>
>serge
------------------------------
Date: Mon, 06 Apr 1998 00:10:40 -0400
From: dhaack@emerald.tufts.edu (Daniel Haack)
Subject: frames
Message-Id: <dhaack-0604980010400001@130.64.154.81>
I have a cgi I am writing which basically has a button which calls a cgi
from one frame...but I need all the output of the cgi to come up in
another frame. Is this possible. Everytime I run it now it outputs to the
frame the cgi is called from...
Dan Haack
dhaack@emerald.tufts.edu
------------------------------
Date: Mon, 06 Apr 1998 01:21:16 -0600
From: "Doran L. Barton" <fozz@mail.xmission.com>
To: Daniel Haack <dhaack@emerald.tufts.edu>
Subject: Re: frames
Message-Id: <3528826C.83DA11D3@mail.xmission.com>
Daniel Haack wrote:
> I have a cgi I am writing which basically has a button which calls a cgi
> from one frame...but I need all the output of the cgi to come up in
> another frame. Is this possible. Everytime I run it now it outputs to the
> frame the cgi is called from...
This is really not a Perl or CGI question at all, but rather a HTML Forms
question. However, here's the answer:
If this button is a form submitter:
<FORM METHOD=blah ACTION=cgi-name TARGET=frame-name>
If the button is just a hyperlink:
<A HREF=cgi-name TARGET=frame-name>
-Fozz
--
========================================================================
Doran L. Barton = fozz@xmission.com && http://www.xmission.com/~fozz/;
"Where do you want Microsoft to go today?" --Ron Barry <ronb@cc.usu.edu>
"This may seem a bit weird, but that's okay, because it is weird."
-- Larry Wall <lwall@sems.com> in the Perl v5 man page
------------------------------
Date: Sun, 05 Apr 1998 23:32:20 -0700
From: Tommy <tkho@technologist.com>
Subject: Help: on "format" (repost)
Message-Id: <352876F4.81F48025@technologist.com>
I have a question on "format". I had try to have a format print out.
However, lines are kept missing. Here is the script.
#!/usr/local/bin/perl -w
use strict;
my $A="Test";
my $B=" 12345678 \r 12345678 \r";
$~= "A";
write;
$B=" 123456789 \r 123456789 \r abc";
$~= "A";
write;
format A=
@<<< = ^<<<<<<<<<<<<<<<<<<<<<<
$A, $B,
~ ^<<<<<<<<<<<<<<<<<<<<<<
$B,
~ ^<<<<<<<<<<<<<<<<<<<<<<
$B,
~ ^<<<<<<<<<<<<<<<<<<<<<<
$B,
.
__END__
We I expected is:
Test = 12345678
12345678
Test = 123456789
123456789
abc
However, the result is different:
Test = 12345678
Test = 123456789
123456789
Can anyone explain why the first one only show one line? Is that a bug
for Perl for Win32s (ActiveState Build3.13)?
------------------------------
Date: Sun, 05 Apr 1998 23:31:02 -0700
From: Greg Heil <NO-SPAM-gheil@gte.net>
To: "Andreas Kvnig" <a.koenig@mind.de>
Subject: HELP:installing CPAN on sun4/perl5.003
Message-Id: <6g9ssd$74m$1@gte2.gte.net>
Andy
i am not getting very far with CPAN. i have installed it on our
sun4/solaris box which is running perl5.003 with no apparent
glitches. All makes until install done as me, and make install
done as root. Whenever i try to do anything useful, even use the a
command it bounces me out of the shell with a transcript like:
---
scn4# perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.36)
ReadLine support available (try ``install Bundle::CPAN'')
cpan> a ANDK
Use of uninitialized value at -e line 2139, <FIN> chunk 1.
Going to read /usr/local/lib/perl5/cpan/.cpan/sources/authors/01mailrc.txt.gz
Lockfile removed.
---
i can get the o command to work and it reports:
---
cpan> o
Known options:
conf set or get configuration variables
debug set or get debugging options
cpan> o conf
CPAN::Config options from /usr/local/lib/perl5/CPAN/Config.pm:
commit Commit changes to disk
defaults Reload defaults from disk
init Interactive setting of all options
build_cache 10
build_dir /usr/local/lib/perl5/cpan/.cpan/build
cpan_home /usr/local/lib/perl5/cpan/.cpan
ftp /usr/ucb/ftp
ftp_proxy
getcwd cwd
gzip /usr/bin/gzip
http_proxy
inactivity_timeout 0
index_expire 1
inhibit_startup_message 0
keep_source_where /usr/local/lib/perl5/cpan/.cpan/sources
lynx /usr/local/bin/lynx
make /usr/local/bin/gmake
make_arg
make_install_arg
makepl_arg
ncftp /usr/local/bin/ncftp
no_proxy
pager /usr/local/bin/less
shell /bin/tcsh
tar /usr/bin/tar
unzip /usr/bin/gunzip
urllist
ftp://ftp.spu.edu/pub/CPAN/
ftp://ftp.archive.de.uu.net/pub/programming/languages/perl/CPAN/
wait_list
wait://ls6.informatik.uni-dortmund.de:1404
---
all of which seems reasonable...
Do i need to be running perl 5.004? The readme file did
not seem to indicate so.
greg heil
mailto:gheil@acm.org or remove no-spam from reply-to...
http://www.scn.org/tl/anvil
------------------------------
Date: 06 Apr 1998 00:55:36 -0400
From: Lloyd Zusman <ljz@asfast.com>
Subject: Re: How do I strip newlines from a var
Message-Id: <luhg47im5z.fsf@asfast.com>
catfood@apk.net (Mark W. Schumann) writes:
> In article <lassehp-0504980146130001@ygdrasil.imv.aau.dk>,
> <lassehp@imv.aau.dk> wrote:
> >Suppose you stand at a bus stop and someone asks you what time it is. You
> >answer: "There will be a partial solar eclipse on tuesday at 1430
> >Universal Time, which is in only 117 hours and 35 minutes from now. If you
> >are too stupid to do the math, look across the street."
>
> Bad analogy.
>
> It's more as if you'd been busy at a meeting of watchmakers, antique
> clock collectors, and engineers who work on time calculations.
> Somebody comes in, doesn't look around, doesn't read the booklet titled
> "How To Tell What Time It Is Now" that is handed out at the door, walks
> into the middle of the room, and says loudly enough for everyone to
> hear: "Can anyone tell me what time it is?"
Well, this analogy doesn't quite cut it, either, since there is no
booklet handed out at the door here until *after* someone makes their
first post and receives the automatic emailing.
A still better analogy is for the "somebody" described above to see a
sign on a door that says "Experts at Telling Time Forum, Open to the
Public" and to walk in, asking the "Can anyone tell me what time it
is?" question. In response, some of the people in the room rudely
and condescendingly tell this person to go away and read the "How To
Tell What Time It Is Now" pamphlet, even though this person had no
idea prior to entering that this pamphlet even exists.
A little while later, only *after* having asked his or her question in
the Time Forum, our friend surprisingly receives a letter in the mail
telling him or her some of the rules of the "Experts at Telling Time
Forum" and where to find the aforementioned pamphlet, as well as other
pertinent material. This letter also explains that it is
automatically sent out to all new participants in the Forum once they
make an initial statement or ask an initial question, and so our
friend correctly infers that he or she could not have received any
useful information about the Forum until *after* entering it and
interacting with the members.
Furthermore, our friend is familiar with a number of other forums, and
this is the only one he or she knows of where this automatically
generated letter is sent out ... therefore, he or she could not be
expected to anticipate the receipt of this letter.
> It might be considered a bit mean-spirited to give that person the
> solar-eclipse answer, but IMHO it's hard to argue that it would be totally
> unusual or unjustified to do so.
If there was no "Open to the Public" sign on the door, or if the
existence and location of the pamphlet could somehow magically be made
known to people even *before* their first entrance into the Forum,
then I would agree with you.
--
Lloyd Zusman
ljz@asfast.com
------------------------------
Date: Mon, 06 Apr 1998 00:29:13 -0500
From: Ronald J Kimball <rjk@coos.dartmouth.edu>
Subject: Re: How do I strip newlines from a var
Message-Id: <3528682A.2F950306@coos.dartmouth.edu>
[posted but not mailed - last response bounced :-/ ]
Lasse Hillerxe Petersen wrote:
>
> In article <352656BC.242401EC@coos.dartmouth.edu>, rjk@coos.dartmouth.edu wrote:
>
> >[For context...]
> >Abigail wrote:
> >> $var=join+q,,,grep{ord${qq$\137$}<10 or+10<ord}split+q,,,$var;
> >
> >"Informative" does not mean "simplest" or "most obvious".
>
> I didn't ask you what informative doesn't mean. Informative does not mean
> "yellow" either, in case you didn't know.
That, on the other hand, was an excellent example of uniformative. :-P
I know you didn't ask what informative was. You said Abigail's response was
uninformative, as if to be informative Abigail had to give the simplest or
most obvious solution.
> >What do we learn from Abigail's one-liner?
>
> Suppose you stand at a bus stop and someone asks you what time it is. You
> answer: "There will be a partial solar eclipse on tuesday at 1430
> Universal Time, which is in only 117 hours and 35 minutes from now. If you
> are too stupid to do the math, look across the street."
That is a very poor analogy for clpm, for the following reasons:
1) It is completely understandable that the person could not be aware of the
clock across the street. After all, not every bus stop has a clock across
from it. However, every Perl programmer should be aware of the documentation
that comes with Perl. How many programming languages do you know of that
don't have documentation?
2) You don't get 20 to 30 people asking you for the time every time you go to
the bus stop, whereas people post the same obvious questions to clpm over and
over again.
> This may be valid information, it even provides the answer, although it is
> obfuscated. And it is certainly rude, but is it informative? I don't think
> so.
Sure it is. I just found out that there will be a partial solar eclipse on
Tuesday at 1430 UTC.
> Now why would you be motivated to give an answer like that? There is a
> station across the street, with a prominent clock on the facade, so
> basically the question could be considered stupid. But would you behave
> that way in the real world? If not (and I hope you wouldn't), why do you
> think it is OK to do so on c.l.p.m?
See above. The analogy does not work.
> >Some of those are generally useful, and as to the others... Ever hear of the
> >Obfuscated Perl Contest?
>
> Yes. Do you want to hear my opinion about it? No? Well, to make this more
> relevant to the newsgroup, I'll tell you anyway.
>
> That Perl allows you to write highly obfuscated code, is problematic. I
> think it is quite appropriate that obfuscated Perl tends to look like
> cartoon cursing. The features of Perl that allow obfuscated code are
> however useful, because they also allow more varied ways of expression,
> which helps writing more _readable_ code. Unfortunately it is considered
> an admirable skill to write obfuscated code. It is true that it takes a
> great deal of Perl fluency to write such code, but it encourages a coding
> style which I don't think is good. I wish there was a contest to encourage
> _good_ coding style, in terms of readability and correctness,
> demonstrating the features of Perl that can make a program more readable
> and nice than what's possible in most other languages.
There are already outlets for writing good code; that's what programmers are
supposed to do at their jobs. The Obfuscated Perl Contest is for fun, and
writing creative, obfuscated code is fun.
> However obfuscated code is not without entertainment value. Just as I
> might enjoy graffiti-like art at a museum, I can enjoy obfuscated Perl in
> an appropriate context.
I would say clpm is one of those contexts, but I don't think we agree on that.
> >Well, since comp.lang.perl.misc is part of the Perl subculture, I expect that
> >it would be considered creative in this newsgroup.
>
> By some, sure. Even by me, if it had occured in a different context.
Yes, I was right. I think we'll have to let that point of contention go.
> >And how is it destructive, hmm? Abigail even directed the newbie to the
> >manual, should he be unsatisfied with her tricky solution.
>
> In the same way graffiti is destructive. Graffiti doesn't make walls
> collapse or trains derail, but it still is damage of property and
> aestetics in a public space.
I don't see Abigail's answer as damaging property or aestetics.
> >Okay, who is it harming?
>
> The newsgroup. I am certainly not the only reader who perceives this
> behaviour as poisoning the atmosphere.
I'm not the only reader who perceives the behavior of the original poster as
poisoning the atmosphere.
> >As we've said over and over again, clpm helps people who help themselves.
>
> No problem with that.
>
> > If
> >they're too lazy to look things up in the manual or the FAQ, I feel no
> >obligation to do that work for them.
>
> Then don't. But you aren't obliged to flame them either. In fact I believe
> you _are_ obliged *not* to flame them in c.l.p.m. Not for their sake, but
> for the newsgroup.
I don't see how Abigail's post could be construed as a flame. She directed
the poster to the manual, provided a workable but unusual solution, and
directed the poster to the manual again.
> >And you know what? clpm is *not* a help desk. Notice the last word: "misc".
> >Not "questions" or "help" or "newbies".
>
> I don't see any relevance in those statements. I'm not one who is calling
> for a help desk. I would be happy if each and every stupid question went
> unanswered, or answered with a plain reference to documentation, or a
> mailed flame in whatever style you feel like. But public flogging went out
> of fashion a long time ago in my corner of the planet.
I agree with that. However, as I stated above, I do not feel that Abigail's
post was a flame. I think it was an acceptable and entertaining response.
> >We can discuss *anything* we want to
> >concerning Perl in this newsgroup. And sometimes, we want to discuss hacking
> >and obfuscation. Live with it.
>
> I don't mind hacking and even obfuscation at times, I wonder what gave you
> that impression. And I don't mind people demonstrating their skills. I do
> mind when people use such demonstrations against other people.
I'm not sure what you mean by "use such demonstrations against other people".
> >> I don't consider it helpful to throw clever hacks and rude remarks at a
>
> >I didn't say it was helpful. ;-)
>
> I just said it wasn't (IMO), not that you said it was.
Well then, I was agreeing with you. :-)
> >And you're propagating another fallacy. "Newbies" are not treated this way.
> >People who post questions which have clear and simple answers in the
> >documentation are treated this way. Not all newbies post such questions, and
> >not all such questions are posted by newbues.
>
> Pardon me for using the word newbie to denote a person who posts questions
> with obvious answers, and not making that usage clear. If you prefer a
> different word, please suggest one. And, no, "troll" will not do, I think
> it connotes a malicious intent which I still refuse to believe is present
> in the general case.
A newbie is basically someone who is new, but it can also be used in a
derogatory way, of course. I wanted to make it clear that posters receive
rude responses not because they are new, but rather because they post
questions with obvious answers. I agree that troll would not be the correct word.
> In any case, I think it is wrong to treat newbies that way. When did you
> last read news.announce.newusers? Either you haven't or it's too long ago.
I've lost track of exactly what way they're being treated that we're
discussing. :-/ Perhaps they shouldn't be flamed, but I think most of the
responses, including Abigail's, are not flames.
I notice that news.announce.newusers directs users to read a newsgroup to
learn what should and shouldn't be done in that group, to use descriptive
subject headers, and to post messages to the appropriate groups.
And here's some useful advice, posted by Mark Moraes to news.announce.newusers:
>
> Before posting a question to the net (especially one that you think
> will be easy for experts to answer), consider carefully whether
> posting is the most appropriate way to get the answer. There are many
> ways to find answers without using up network resources and forcing
> thousands of people to read your question (and several helpful
> volunteers to spend time responding). [...] If you have local experts
> (or simply more experienced users than yourself) at your site, try
> asking them before posting. [...] Finally, you should also
> check the manuals for your system; if you don't, and you post a
> question that's answered there, you'll likely receive a number of
> responses that scream "RTFM" (Read the F*ing Manual).
I think the last sentence is particularly relevant.
So, what point were you trying to make about news.announce.newusers?
> >Read the parenthetical comment, please, and note the word "intelligent".
>
> Are you trying to imply that intelligence and stupidity are mutually exclusive?
As far as I know, they're antonyms. :-)
--
_ / ' _ / - aka - rjk@coos.dartmouth.edu
( /)//)//)(//)/( Ronald J. Kimball chipmunk@m-net.arbornet.org
/ http://www.ziplink.net/~rjk/
"It's funny 'cause it's true ... and vice versa."
------------------------------
Date: Mon, 06 Apr 1998 00:41:02 -0500
From: Ronald J Kimball <rjk@coos.dartmouth.edu>
Subject: Re: How do I strip newlines from a var
Message-Id: <352878FD.5C16E76C@coos.dartmouth.edu>
Lloyd Zusman wrote:
>
> If there was no "Open to the Public" sign on the door, or if the
> existence and location of the pamphlet could somehow magically be made
> known to people even *before* their first entrance into the Forum,
> then I would agree with you.
The automatic mailing (pamphlet) does not contain the answer to any of the
questions people ask in clpm (the Forum). It merely directs them to the
sources of the answers; the manual, the FAQ, CPAN, etc. Posters have access
to these before they ever post to the newsgroup, and should presumably already
be aware of some or all of them.
--
_ / ' _ / - aka - rjk@coos.dartmouth.edu
( /)//)//)(//)/( Ronald J. Kimball chipmunk@m-net.arbornet.org
/ http://www.ziplink.net/~rjk/
"It's funny 'cause it's true ... and vice versa."
------------------------------
Date: 06 Apr 1998 02:18:42 -0400
From: Lloyd Zusman <ljz@asfast.com>
Subject: Re: How do I strip newlines from a var
Message-Id: <lu90pjiibh.fsf@asfast.com>
Ronald J Kimball <rjk@coos.dartmouth.edu> writes:
> Lloyd Zusman wrote:
> >
> > If there was no "Open to the Public" sign on the door, or if the
> > existence and location of the pamphlet could somehow magically be made
> > known to people even *before* their first entrance into the Forum,
> > then I would agree with you.
>
> The automatic mailing (pamphlet) does not contain the answer to any of the
> questions people ask in clpm (the Forum). It merely directs them to the
> sources of the answers; the manual, the FAQ, CPAN, etc. Posters have access
> to these before they ever post to the newsgroup, and should presumably already
> be aware of some or all of them.
I would be willing to bet that a high percentage of the people who
enter clpm and post the frequently asked questions that many here find
so annoying are *not* aware of CPAN or the existence or location of
the FAQ at the time they post the questions.
--
Lloyd Zusman
ljz@asfast.com
------------------------------
Date: Mon, 06 Apr 1998 00:32:11 -0500
From: Ronald J Kimball <rjk@coos.dartmouth.edu>
Subject: Re: Is there a "Newsgroup" for Newbies to Perl?
Message-Id: <352868DC.A055D96C@coos.dartmouth.edu>
smitty77@pacbell.net wrote:
>
> >3) The posts are not bothersome because we respond to them. They're
> >bothersome because they were posted. Not responding to them does not make
> >them any less of a nuisance.
>
> I don't understand that at all. How can something be a nuisance if you ignore
> it? So I assume you're all for another newsgroup for these nuisances to go tom,
> right?
Because the message still takes up time and space being delivered. Because I
still have to wait for my newsreader to download the message. Because I still
have to read the message to find out if it is a worthwhile question.
By the time I decide not to answer the question, it's already been a nuisance.
--
_ / ' _ / - aka - rjk@coos.dartmouth.edu
( /)//)//)(//)/( Ronald J. Kimball chipmunk@m-net.arbornet.org
/ http://www.ziplink.net/~rjk/
"It's funny 'cause it's true ... and vice versa."
------------------------------
Date: 6 Apr 1998 07:51:30 GMT
From: otaku@hick.com
Subject: perl 5.004_04 on BSDi 3.1
Message-Id: <6ga1i2$b0e$1@news.iswest.net>
I need to compile perl 5.004_4 on BSDi 3.1. When compiling, I get a multitude of signal errors when
it tries to link. I've looked around and found out that this is a common problem with BSDi 3.1.
If anyone has overcome this problem, and knows what to do, could you please e-mail me at
otaku@hick.com? I would be very grateful for your help :)
Thanks a lot.
------------------------------
Date: Mon, 06 Apr 1998 00:15:33 -0700
From: "M.EFE" <mefe@TTusa.net>
To: jgloudon@bbn.com
Subject: Re: Perl Installation Help...
Message-Id: <35288114.AA35EC15@TTusa.net>
Ok,
Let me give you something from installation log:
"...Operating system name? [bsdos]
Operating system version? [3.1]
What is your architecture name [i386-bsdos]
AFS does not seem to be running...
...Checking for GNU cc in disguise and/or its version number...
You are using GNU cc 1.42.
...Checking your choice of C compiler, libs, and flags for coherency...
OK, that should do.
Checking for GNU C Library...
You are not using the GNU C Library
...Shall I use nm to extract C symbols from the libraries? [y] none
Your C library seems to be in /usr/lib/libc.a. That's fine.
..Hmm... Looks like you have Berkeley networking support.
..Checking to see if your C compiler knows about "volatile"...
Yup, it does.
...Hmm... Your C compiler and pre-processor define these symbols:
__bsdi__
__i386__
__unix__
bsdi
i386
unix
...Now you must run a make.
% make
....
...
`sh cflags libperl.a doop.o` doop.c
CCCMD = cc -DPERL_CORE -c
`sh cflags libperl.a doio.o` doio.c
CCCMD = cc -DPERL_CORE -c
doio.c: In function Perl_do_ipcctl:
doio.c:1381: argument #4: incompatible types in argument passing
doio.c:1432: argument #4: incompatible types in argument passing
*** Error code 1
Stop."
Does this make sense?
Jason Gloudon wrote:
> M.EFE wrote:
> .
> .
> .
> >What should I do?
>
> You should give a better description of your problem.
> What operating system are you using? "UNIX" is not specific.
> What compiler are you using ?
> What version of perl are you trying to install ?
>
> --
> Jason Gloudon
------------------------------
Date: Mon, 6 Apr 1998 15:18:55 +1000
From: andrew@ugh.net.au
To: Pablo Fridlender <pablender@geocities.com>
Subject: Re: Problems calling Perl scripts
Message-Id: <Pine.BSF.3.96.980406151525.15678G-100000@house.key.net.au>
On Sun, 5 Apr 1998, Pablo Fridlender wrote:
> So I have added a calling: <!--#exec cmd="/usr/local/bin/perl5
> myscript.pl"-->
The web server would only run scripts certain directories (usually only
one, usually called cgi-bin). As long as your OS understands about scripts
you can just put
#!/usr/local/bin/perl5
as the first line of your script and then you dont need to put it in the
#exec cmd line. The script will still need to be in the cgi-bin directory.
> print "it works!";
It should be:
print "Content-Type: text/html\n\nit works!";
Andrew
------------------------------
Date: Mon, 06 Apr 1998 02:04:26 -0600
From: raja@krdl.org.sg
To: rajasundaram@hotmail.com
Subject: Reading unix shell environment thru browser?
Message-Id: <6g9upq$f9s$1@nnrp1.dejanews.com>
Hi there,
How to get the envirnoment variables from the shell.
%ENV hash always returns me undef when i GET the FastCGI/CGI script from the
browser.
Because the Apache Server 1.2.4, which i'm using has its own different set of
env (like SERVER_SOFTWARE, FCGI_ROLE, ...) to pass as its environment while it
executes the script and the browser has its own set of env (like
HTTP_USER_AGENT, HTTP_ACCEPT_LANGUAGE, ...) to send the http server when it
makes a query and so the apache server totally ignores the environment that
was set in the shell by the script's owner.
For some ease of configuration, i want the environment variables that are set
in the unix shell. How to get it?
If anybody knows please reply to rajasundaram@hotmail.com
Thanx in advance.
rgds,
raja.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
------------------------------
Date: Mon, 06 Apr 1998 00:46:52 -0500
From: gidon <gidon@gidon.com>
Subject: what is a bucket?
Message-Id: <35286C4C.F75698D7@gidon.com>
In the perl manual there is a warning that you cannot put more than a
certain amount of bytes in a bucket in a dbm file.
What exactly is a bucket?
Thanks
------------------------------
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 2256
**************************************