[8722] in Perl-Users-Digest
Perl-Users Digest, Issue: 2339 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Apr 16 16:07:41 1998
Date: Thu, 16 Apr 98 13:00:31 -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, 16 Apr 1998 Volume: 8 Number: 2339
Today's topics:
Re: .= so why not =. ? <John.Adams@BentonvilleAR.ncr.com>
Re: .= so why not =. ? <bmb@ginger.libs.uga.edu>
Re: .= so why not =. ? (Abigail)
Re: .= so why not =. ? (Craig Berry)
Re: .= so why not =. ? <sowmaster@juicepigs.com>
Re: [Q] find largest value in key of associative array? <andrewf@cp.pathfinder.com>
Re: [Q] find largest value in key of associative array? <andrewf@cp.pathfinder.com>
Re: Can I do this: <A HREF=laughs.pl?@laughs> (Craig Berry)
Re: cgi scripts to modify root-owned files and processe (brian d foy)
commenting a whole block? <jonhuang@romulus.rutgers.edu>
Re: commenting a whole block? <jason@primal.ucdavis.edu>
Re: commenting a whole block? <jason@primal.ucdavis.edu>
Re: commenting a whole block? (brian d foy)
Re: commenting a whole block? (Craig Berry)
Re: compiling with 'sfio' <quentin@jihad.amd.com>
creating pod - was Re: commenting a whole block? <dtbaker_@flash.net>
Documentation Software for Perl <joe@microsoft.com>
Re: error with mirror.pl (Martin Vorlaender)
Re: File IO Question: opening for appending without flo <mdudley@execonn.com>
Re: Filname into variable (Mike Wescott)
Re: General Rudeness, e.g. Re: Need a web login script (Abby Franquemont)
Re: Hash of Arrays <smubit1@gl.umbc.edu>
Re: How can i create an array?? <sdh1@anchor.hotmail.com>
Re: how to develop/test perl-cgi in local win32 develop <jason@primal.ucdavis.edu>
Re: how to develop/test perl-cgi in local win32 develop <dtbaker_@flash.net>
Re: How to insert a \n each... (Craig Berry)
LWP::Simple::get/HTACCESS Question (Jim Turner)
MULTIPLICITY crash: HELP!!! igor@everyware.com
Re: OOPS and several parents <jdporter@min.net>
Re: Perl 5.004_64 Slower??? (Stuart McDow)
Re: Perl 5.004_64 Slower??? lvirden@cas.org
Re: PERL aware code editor <ghost_unc@xxxxx.hotmail.com>
perl script for tacacs (Angela D. Orebaugh)
Re: Question <bmb@ginger.libs.uga.edu>
Re: Regex problem: match maximal substring jfischer@ovid.com
Win 95 <timur@gsmnet.com>
Win 95 <timur@gsmnet.com>
Digest Administrivia (Last modified: 8 Mar 97) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Thu, 16 Apr 1998 14:34:59 -0400
From: "John Adams" <John.Adams@BentonvilleAR.ncr.com>
Subject: Re: .= so why not =. ?
Message-Id: <01bd6966$2f593cc0$32325299@arbentadamsj.bentonvillear.ncr.com>
Jeffrey R. Drumm <drummj@mail.mmc.org> wrote in article
<35361ddb.533724214@news.mmc.org>...
> Um, because there is no '=.' operator?
>
I surely wasn't clear in my original posting. My question was really, Why
isn't there such an operator? And if I'd thought it out further, I'd've
realized that just because I write like this:
$abc = .3; #with spaces around the =
doesn't mean it won't parse like this:
$abc=.3; #without the spaces
and so there wouldn't be any way to distinguish between "assign .3 to $abc"
and "prepend 3 to $abc".
John A
...not anyone's opinion but mine...obviously...
------------------------------
Date: Thu, 16 Apr 1998 14:51:51 -0400
From: Brad Baxter <bmb@ginger.libs.uga.edu>
Subject: Re: .= so why not =. ?
Message-Id: <Pine.A41.3.96.980416142149.63622C-100000@ginger.libs.uga.edu>
Okay, following is not a perl question, but most FAQ's and books I've read
make use of the 'foobar' expression. Considering what this stands for, is
anyone else out there slightly tired of seeing it, as am I? Chances are
good that if I routinely used profane variable names in my posts, someone
would call me on it.
Okay, my little rant's over ...
Brad Baxter
UGA
On Thu, 16 Apr 1998, John Adams wrote:
> Okay, if
>
> $string1 = "foo";
> $string2 = "bar";
> $string1 .= $string2; #$string1 is now "foobar"
>
> then why doesn't
>
> $string1 = "foo";
> $string2 = "bar";
> $string1 =. $string2; #$string1 is now "barfoo"
>
> Or am I missing something here?
>
> John A
> speaking only for himself
>
>
------------------------------
Date: 16 Apr 1998 19:03:16 GMT
From: abigail@fnx.com (Abigail)
Subject: Re: .= so why not =. ?
Message-Id: <6h5klk$6gv$1@client2.news.psi.net>
John Adams (John.Adams@BentonvilleAR.ncr.com) wrote on MDCLXXXIX
September MCMXCIII in <URL: news:01bd6941$d1cb6340$32325299@arbentadamsj.bentonvillear.ncr.com>:
++ Okay, if
++
++ $string1 = "foo";
++ $string2 = "bar";
++ $string1 .= $string2; #$string1 is now "foobar"
++
++ then why doesn't
++
++ $string1 = "foo";
++ $string2 = "bar";
++ $string1 =. $string2; #$string1 is now "barfoo"
++
++ Or am I missing something here?
Yes. There are no =+ and =- in Perl either. And that's because there
are no =+ and =- in C. Not anymore at least. AFAIK, long time ago, =+
and =- where in C, with there obvious meanings. But then, a generation
of lazy programmers was born, too laze to hit the space bar every now
and then. They tend to not put spaces around operators. So you get
things like 'a=7', which is fine. But 'a=-7' wouldn't be the same as
'a = -7'. So, they took it out.
So... if everyone always had put spaces around their operators, =.
might have been a Perl operator.
Abigail
--
perl -MLWP::UserAgent -MHTML::TreeBuilder -MHTML::FormatText -wle'print +(HTML::FormatText -> new -> format (HTML::TreeBuilder -> new -> parse (LWP::UserAgent -> new -> request (HTTP::Request -> new ("GET", "http://work.ucsd.edu:5141/cgi-bin/http_webster?isindex=perl")) -> content)) =~ /(.*\))[-\s]+Additional/s) [0]'
------------------------------
Date: 16 Apr 1998 18:58:25 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: .= so why not =. ?
Message-Id: <6h5kch$eju$3@marina.cinenet.net>
Brad Baxter (bmb@ginger.libs.uga.edu) wrote:
: Okay, following is not a perl question, but most FAQ's and books I've read
: make use of the 'foobar' expression. Considering what this stands for, is
: anyone else out there slightly tired of seeing it, as am I? Chances are
: good that if I routinely used profane variable names in my posts, someone
: would call me on it.
Given that the profane version is 'fubar', not 'foobar', and also given
the entrenched position of foo and bar as the first two metasyntactic
variables, I don't think these are offensive. Sorry their use annoys
you, however.
: Okay, my little rant's over ...
You barely had time to warm up! :)
---------------------------------------------------------------------
| Craig Berry - cberry@cinenet.net
--*-- Home Page: http://www.cinenet.net/users/cberry/home.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
------------------------------
Date: Thu, 16 Apr 1998 15:26:52 -0400
From: Bob Trieger <sowmaster@juicepigs.com>
To: Brad Baxter <bmb@ginger.libs.uga.edu>
Subject: Re: .= so why not =. ?
Message-Id: <35365B7C.4A4F@juicepigs.com>
Brad Baxter wrote:
>
> Okay, following is not a perl question, but most FAQ's and books I've read
> make use of the 'foobar' expression. Considering what this stands for, is
> anyone else out there slightly tired of seeing it, as am I? Chances are
> good that if I routinely used profane variable names in my posts, someone
> would call me on it.
>
> Okay, my little rant's over ...
You call that a rant?
Source: The Free On-line Dictionary of Computing (27Dec97) [foldoc]
http://www.dictionary.com
foobar
Another common {metasyntactic variable}; see {foo}. Hackers
do *not* generally use this to mean {FUBAR} in either the
slang or jargon sense.
--
Bob Trieger | Titanic: big boat, bigger
sowmaster@juicepigs.com | iceberg, big deal
------------------------------
Date: Thu, 16 Apr 1998 15:01:44 -0400
From: "Andrew F. Lee" <andrewf@cp.pathfinder.com>
Subject: Re: [Q] find largest value in key of associative array?
Message-Id: <Pine.GSO.3.95.980416145841.18074B-100000@cp.pathfinder.com>
On Mon, 13 Apr 1998, Dan Boorstein wrote:
> Andrew F. Lee wrote:
> >
> > On Mon, 13 Apr 1998, Stephen_Chan wrote:
> >
> > $max = 0;
> > for $key (%aa) {
> > if($key > $max) {
> > $max = $key;
> > }
> > }
> >
> > > What's the fastest way to find the largest key value
> > > in an associative array? eg:
>
> although the original poster does confuse the issue by using the term
> 'key value', i believe he was looking for one or the other. your method
> finds the highest number whether it is a key or value.
>
> --
> dan boorstein
>
>
Quite true!
Make that :
$max = 0;
for $key (keys %aa) {
if($key > $max) {
$max = $key;
}
}
------------------------------
Date: Thu, 16 Apr 1998 15:07:57 -0400
From: "Andrew F. Lee" <andrewf@cp.pathfinder.com>
Subject: Re: [Q] find largest value in key of associative array?
Message-Id: <Pine.GSO.3.95.980416150333.18074C-100000@cp.pathfinder.com>
On Tue, 14 Apr 1998, Eric Bohlman wrote:
> Mark-Jason Dominus <mjd@op.net> wrote:
> : In article <comdog-ya02408000R1304981339320001@news.panix.com>,
> : brian d foy <comdog@computerdog.com> wrote:
> : >why is everyone trying to sort?
>
> : Because it leads to smaller code.
>
> YM "less typing." The sort method uses up a lot more memory, since space
> has to be allocated to hold the sorted list, all but one element of which
> is then discarded.
>
> : > you only need to look at each key once!
>
> : I posted the each-key-once solution too, but I think there's a place
> : for the sort solution.
>
> For 10,000 items, the each-key-once solution requires 9,999 comparisons.
> The sort solution requires 132,877 comparisons. The original poster
> asked for the *fastest* method. The compiled C code inside sort()
> probably does comparisons faster than an explicit comparison in Perl
> does, but unless it's at least 13 times faster, the sort method loses
> (not to mention the time spent allocating the sorted array and copying
> data to it).
>
132,877 comparisons on the average. 100,000,000 for a sorted list
(ouch!)
So, even if the poster has a Turing Machine, linear is better than
n*log(n).
:-)
------------------------------
Date: 16 Apr 1998 18:30:53 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: Can I do this: <A HREF=laughs.pl?@laughs>
Message-Id: <6h5iot$eju$2@marina.cinenet.net>
Abigail (abigail@fnx.com) wrote:
: ++ @laughs = qw (hoho, hehe, haha);
: ^ ^
: | |
:
: What are those comma's doing there?
^
|
What's this apostrophe doing here?
(Sorry, I just couldn't resist...)
: You might want to read about "join" and "split", and your qw needs some
: brushing up as well. Furthermore, if you use CGI, it can take care of
: (un)escaping forbidden characters for you.
Just to clear up a possible ambiguity: Abigail means "use the perl
module CGI.pm" above. I've been bitten by this in a "who's on first"
style before...
"You need to use CGI."
"I am using CGI, it's a CGI application!"
"No, no, *use* CGI. The directive 'use'."
"OK, so what directive do I use?"
"No, no, you *use* *use*. Use CGI."
"I *am* using CGI!"
---------------------------------------------------------------------
| Craig Berry - cberry@cinenet.net
--*-- Home Page: http://www.cinenet.net/users/cberry/home.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
------------------------------
Date: Thu, 16 Apr 1998 14:30:02 -0400
From: comdog@computerdog.com (brian d foy)
Subject: Re: cgi scripts to modify root-owned files and processes ?
Message-Id: <comdog-ya02408000R1604981430020001@news.panix.com>
Keywords: from just another new york perl hacker
In article <6h5f4c$mic$1@nnrp1.dejanews.com>, sweeting@neuronet.com.my posted:
>I have some CGI scripts to manage DNS ; this involves
>modifying files owned by root (with 755 privileges) and
>also involves restarting processes owned by root (with
>kill -HUP PID).
if you really think that you want to do this, and you really should
meditate on this issue, have your CGI script act as a wrapper for
other setuid scripts. these other scripts should have very limited
functionality and you should make sure they don't change without
your knowledge. use every scrap of technology available to give
yourself that false sense of security you need for such a venture
to make sense.
but, i would recommend against system administration via the web. it's
bound to bite you in the ass sometime.
--
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 <URL:http://www.pm.org>
------------------------------
Date: Thu, 16 Apr 1998 14:49:46 -0400
From: Ji Huang <jonhuang@romulus.rutgers.edu>
Subject: commenting a whole block?
Message-Id: <Pine.GSO.3.96.980416144604.18264A-100000@romulus.rutgers.edu>
Hi:
I am a new user of perl and maybe i am not well informed but I really
think it's extremely inconveniece in perl for me to bar a whole block of
codes from executing.
In C or C++ or Java all you have to do is put
/*
block
*/
, but in perl i have to put # sign at the beginning of each line of the
block.
Is there any easier way for me to do it?
Jon
------------------------------
Date: Thu, 16 Apr 1998 12:13:52 -0700
From: Jason Christian <jason@primal.ucdavis.edu>
Subject: Re: commenting a whole block?
Message-Id: <Pine.OSF.3.95.980416120634.973I-100000@primal.ucdavis.edu>
On Thu, 16 Apr 1998, Ji Huang wrote:
> Hi:
>
> I am a new user of perl and maybe i am not well informed but I really
> think it's extremely inconveniece in perl for me to bar a whole block of
> codes from executing.
>
> In C or C++ or Java all you have to do is put
>
> /*
>
> block
>
> */
>
> , but in perl i have to put # sign at the beginning of each line of the
> block.
>
> Is there any easier way for me to do it?
I sometimes do this:
sub IGNORETHIS{
#lines of perlcode here.
}
Of course it doesn't really ignore it, it compiles it, complains if its
wrong, and no doubt this is a really flagrant waste of expensive
computer memory... but *if* the lines are legal, and *if* memory is cheap,
it does seem to work. I am not proposing this as an answer to the
question, just noting that from an economist's perspective (with cheap
memory and expensive programmer time) it is acceptable. If from more
sensible perspectives (e.g., that of a certified if not certifiable perly
king or queen) this is a crime against humanity, good taste, and the
commons, I hope I will be so advised. Thank you.
---------------------------------------------------------------------------
Jason Christian University of California, Davis
jason@primal.ucdavis.edu Agricultural and Resource Economics
Office:(530)752-1357 FAX:(530)752-5614 Davis, CA 95616
------------------------------
Date: Thu, 16 Apr 1998 12:31:51 -0700
From: Jason Christian <jason@primal.ucdavis.edu>
Subject: Re: commenting a whole block?
Message-Id: <Pine.OSF.3.95.980416121536.973J-100000@primal.ucdavis.edu>
On Thu, 16 Apr 1998, Jason Christian wrote:
> > , but in perl i have to put # sign at the beginning of each line of the
> > block.
> >
> > Is there any easier way for me to do it?
>
> I sometimes do this:
>
> sub IGNORETHIS{
> #lines of perlcode here.
> }
>
> Of course it doesn't really ignore it, it compiles it, complains if its
> wrong, and no doubt this is a really flagrant waste of expensive
> computer memory... but *if* the lines are legal, and *if* memory is cheap,
> it does seem to work. I am not proposing this as an answer to the
> question, just noting that from an economist's perspective (with cheap
> memory and expensive programmer time) it is acceptable. If from more
> sensible perspectives (e.g., that of a certified if not certifiable perly
> king or queen) this is a crime against humanity, good taste, and the
> commons, I hope I will be so advised. Thank you.
Following up to my own post, if I were even halfway smart enough to be a
Perly Prince, I would probably do something borderline intelligent like
=pod
<buncha lines of perlcode that will be Really Ignored.>
=cut
---------------------------------------------------------------------------
Jason Christian University of California, Davis
jason@primal.ucdavis.edu Agricultural and Resource Economics
Office:(530)752-1357 FAX:(530)752-5614 Davis, CA 95616
------------------------------
Date: Thu, 16 Apr 1998 15:43:34 -0400
From: comdog@computerdog.com (brian d foy)
Subject: Re: commenting a whole block?
Message-Id: <comdog-ya02408000R1604981543340001@news.panix.com>
Keywords: from just another new york perl hacker
In article <Pine.GSO.3.96.980416144604.18264A-100000@romulus.rutgers.edu>, Ji Huang <jonhuang@romulus.rutgers.edu> posted:
>I am a new user of perl and maybe i am not well informed but I really
>think it's extremely inconveniece in perl for me to bar a whole block of
>codes from executing.
see the previous arguments and opinions on this topic by searching
Dejanews.
good luck :)
[1] Dejanews
<URL:http://www.dejanews.com>
--
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 <URL:http://www.pm.org>
someone is going to end up calling someone else a nazi.
------------------------------
Date: 16 Apr 1998 19:37:19 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: commenting a whole block?
Message-Id: <6h5mlf$eju$4@marina.cinenet.net>
Jason Christian (jason@primal.ucdavis.edu) wrote:
: On Thu, 16 Apr 1998, Ji Huang wrote:
: > I am a new user of perl and maybe i am not well informed but I really
: > think it's extremely inconveniece in perl for me to bar a whole block of
: > codes from executing.
[snip]
:
: I sometimes do this:
:
: sub IGNORETHIS{
: #lines of perlcode here.
: }
:
: Of course it doesn't really ignore it, it compiles it, complains if its
: wrong, and no doubt this is a really flagrant waste of expensive
: computer memory... but *if* the lines are legal, and *if* memory is cheap,
: it does seem to work.
[snip]
If you need to disable code parsing, you can use a bogus here-doc with
single-quote semantics:
<<'DISABLE';
# Code to be ignored...
$xyz =// 47? foo 'wah';
DISABLE
Under -w, this will whine about 'useless use of a constant in void
context', but if you can live with that, this is a good choice.
---------------------------------------------------------------------
| Craig Berry - cberry@cinenet.net
--*-- Home Page: http://www.cinenet.net/users/cberry/home.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
------------------------------
Date: 15 Apr 1998 11:02:24 -0500
From: Quentin Fennessy <quentin@jihad.amd.com>
Subject: Re: compiling with 'sfio'
Message-Id: <xim4szvf4z3.fsf@jihad.amd.com>
>>>>> "Jeremy" == Jeremy Hill <hilljere@pilot.msu.edu> writes:
Jeremy> Greetings, I need to compile perl with 'sfio' for a perl
Jeremy> script I need to get working. I've tried "./Configure
Jeremy> -Duseperlio -Dusesfio" to no avail. Does anyone know what
Jeremy-
We may be able to help if you provide more information.
Such as:
system (OS, version)
Perl version
Error messages
Why do you need perlio and sfio? I understand they are considered
experimental components for Perl, and may not work on all platforms
that Perl builds on. Here is a snippet from INSTALL:
AT&T's "sfio". This has superior performance to stdio.h in many
cases, and is extensible by the use of "discipline" modules. Sfio
currently only builds on a subset of the UNIX platforms perl supports.
Because the data structures are completely different from stdio, perl
extension modules or external libraries may not work. This
configuration exists to allow these issues to be worked on.
This option requires the 'sfio' package to have been built and installed.
A (fairly old) version of sfio is in CPAN, and work is in progress to make
it more easily buildable by adding Configure support.
I assume you have already built sfio for your system and it works.
INSTALL has some more hints on how to test it.
--
Quentin Fennessy AMD, Austin Texas
Secret hacker rule #11 - hackers read manuals
------------------------------
Date: Thu, 16 Apr 1998 13:46:17 -0600
From: Dan Baker <dtbaker_@flash.net>
Subject: creating pod - was Re: commenting a whole block?
Message-Id: <35366009.2F1@flash.net>
Jason Christian wrote:
...snip
>
> =pod
> <buncha lines of perlcode that will be Really Ignored.>
> =cut
------------------------
could someone please review at a high level what is possible with pod?!
i.e. the considerations/syntax for inserting it in your code, and the
tools required to extract and read it?
thanx,
Dan
------------------------------
Date: 16 Apr 1998 18:49:19 GMT
From: "steve" <joe@microsoft.com>
Subject: Documentation Software for Perl
Message-Id: <01bd6968$2a6ec660$ad8503c6@domino2>
Hi...
Does anyone know of or use a product for Perl that will show a map of what
functions call which functions? It should draw out some sort of flow
diagram of all the perl modules called. And... if it could work w/html
files, showing which html files call which perl modules then showing all
the function links.
Thanx much for any advice
scp@datatel.com
-Steve
------------------------------
Date: Thu, 16 Apr 1998 20:21:46 +0200
From: martin@RADIOGAGA.HARZ.DE (Martin Vorlaender)
Subject: Re: error with mirror.pl
Message-Id: <35364c3a.524144494f47414741@radiogaga.harz.de>
[posted & emailed]
Oliver Hauser (hausi@takefive.co.at) wrote:
: i want to use mirror.pl on SunOS 5.5.1,
: but i get the following error when executing:
: ---cut here---
: Final $ should be \$ or $name at mirror.pl line 405, within string
: syntax error at mirror.pl line 405, near ", "^$2$""
: Final $ should be \$ or $name at mirror.pl line 410, within string
: syntax error at mirror.pl line 410, near ", "^$path$""
: Execution of mirror.pl aborted due to compilation errors.
: ---cut here---
: i have perl version 5.004_03.
...and which version of mirror?
AFAIK, 2.8 is current (in which nothing in lines 405 or 410 looks like
it could cause such an error).
As far as you could call a version whose most recent modification date
is 18-Aug-1995 "current"...
cu,
Martin
--
| Martin Vorlaender | VMS & WNT programmer
Ceterum censeo | work: mv@pdv-systeme.de
Redmondem delendam esse. | http://www.pdv-systeme.de/users/martinv/
| home: martin@radiogaga.harz.de
------------------------------
Date: Thu, 16 Apr 1998 15:07:38 -0400
From: Marshall Dudley <mdudley@execonn.com>
Subject: Re: File IO Question: opening for appending without flock?
Message-Id: <353656FA.BF6@execonn.com>
Larry Rosler <lr@hpl.hp.com> wrote:
> It is not necessary to lock a file being appended to. The flock
> documentation is too conservative on this point; a better example would
> show a file being opened for read/write (+<...).
>
> The following description comes from my HP-UX manual fopen(3S), but the
> underlying behavior is guaranteed by the open(2) function in all ANSI-C
> compliant implementations:
>
> When a file is opened for append ... it is impossible to overwrite
> information already in the file. All output is written at the end of
> the file, regardless of intervening calls to fseek(). If two separate
> processes open the same file for append, each process can write freely
> to the file without fear of destroying output being written by the
> other. Output from the two processes will be intermixed in the file in
> the order in which it is written.
>
> Larry Rosler
> Hewlett-Packard Laboratories
> lr@hpl.hp.com
>
Following this type of advise I found elsewhere I removed all the locks
from my appends several months ago. Since then I spent countless hours
in the last month tracking down lost infromation, and I just now
confirmed that if you do not lock a file on an append, you can and under
certain circumstance absolutely will, lose any imformation you attempt
to append.
The following code proved to me that the append will corrupt and lose
information if you do not lock an append:
unless ($dup) {
open (BANNER,
">>/home2/domains/netxotica/cgi-bin/mag-email.txt")
print BANNER " $email ;";
close (BANNER);
open (BANNER,
">>/home2/domains/netxotica/cgi-bin/mag-email.txt2")
print BANNER "$email\n";
close (BANNER);
}
In this case, I found that all the missing entries in the .txt file,
were getting still recorded in the .txt2 file. In all I found that
between 10% and 15% of all entries were getting thrown away in the .txt
file, which gets opened locked, and rewritten by another process. If a
append is attemped during the lock by another other process, the lock is
ignored, and the data is lost or corrupted.
Beware. All the information that says that you do not need to lock an
append operation is wrong. It can lead to serious data loss and
corruption. I know from experience! Now I have to go back and add the
all the locks back that I pulled out earlier. :<
Marshall
------------------------------
Date: 16 Apr 1998 13:34:37 -0400
From: wescott@cygnus.ColumbiaSC.NCR.COM (Mike Wescott)
To: andreas.puttkammer@not.around.ch
Subject: Re: Filname into variable
Message-Id: <x4g1jdy8k2.fsf@cygnus.ColumbiaSC.NCR.COM>
In article <3535B041.72170A27@ubs.com> Andreas Puttkammer <andreas.puttkammer@ubs.com> writes:
> haven't found anything in the books. - is it possible to get the
> filename used (f.ex. whithin a filehandle) into a variable.
> something like this:
> open (OPEN, /home/user/file) or die...
> $a = needs now to be name of the file /home/user/file
> sorry, looks and sounds terrible but you might understand what i'm
> looking for.
You're right it's not clear exactly what you mean, but I'll give it
a shot. Since you've already read up on this we can assume that you're
not asking whether the filename can be in a variable. E.g. this works:
$a = "/home/user/file";
open(FH, "< $a") or die;
I believe that you are asking if you can recontruct the filename from
the filehandle. The answer in general is "no". One *could* scan the
entire filesystem tree looking for files that match (see stat() and
File::Find), but you are not guaranteed to find the file, nor is
the name guaranteed to be the one by which it was opened. And it is
expensive.
--
-Mike Wescott
mike.wescott@ColumbiaSC.NCR.COM
------------------------------
Date: 16 Apr 1998 12:17:09 -0700
From: abby@ucan.foad.org (Abby Franquemont)
Subject: Re: General Rudeness, e.g. Re: Need a web login script
Message-Id: <6h5lfl$r6d$1@ucan.foad.org>
In article <tmorniniEr8LE2.rx@netcom.com>,
Tom Mornini <tmornini@netcom.com> wrote:
[snip]
>The net and these groups in particular are quite anonymous. Why allow shame
>to control your actions when nobody knows who you are? You can always just
>get a new account and begin to act appropriately should the need arise... :-(
Ya know, this notion always blows my mind. Something like half the
posters in this thread are folks I recognize from some 5 years or more
of using the same accounts and/or their real names while posting to
USENET. And those are the half of the posters who are allegedly being
rude. [skritch head] Seems to me it used to be considered rude to be
a random newbie and ask everyone else to solve a problem for you and
be done with it.
On a perl-related note, now that I'm back to a perl-heavy thing to do,
I was out piling up perl-related bookmarks and reference things as is
my wont and I have to say the leeds.ac.uk tutorial is really well done.
I don't think it was around last time I was piling up reference material,
and it's really a standout as far as I'm concerned. </two-cents>
ObURL: http://agora.leeds.ac.uk/Perl/start.html but then I'd imagine
everyone knows that.
--
Abby Franquemont Nothing cures insomnia like the realization
J. Random BOFH that it's time to get up. --Fortune program
------------------------------
Date: Thu, 16 Apr 1998 14:26:32 -0400
From: Stephen Mubita <smubit1@gl.umbc.edu>
Subject: Re: Hash of Arrays
Message-Id: <Pine.SGI.3.96.980416141837.3930B-100000@jig.gl.umbc.edu>
On Wed, 15 Apr 1998, Ovanes Manucharyan wrote:
=> How can I create a hash of Arrays.
=> For example, will this work?
=>
=> @HASH{$index}=@array;
=>
=> Do I need to create this data type? I tried to use this in my code and
=> it only stores the first element of the @array, am I doing something
=> wrong??
customized from page 266 of the Camel book (hashes of arrays):
@myhash = (
$index => [ @array ],
);
hth,
--
Stephen Mubita "All Scripture is God-breathed and is useful for
smubit1@umbc.edu teaching, correcting, rebuking, and training in
righteousness, so that the man of God may be
thoroughly equipped for every good work."
2 Timothy 3 : 16 - 17
-----------------------------------------------------------------------
UCS is not responsible for any opinions contained here
------------------------------
Date: Thu, 16 Apr 1998 13:34:40 -0400
From: "Scott" <sdh1@anchor.hotmail.com>
Subject: Re: How can i create an array??
Message-Id: <6h5fl7$orl$1@camel29.mindspring.com>
cipa@cipa.com.br wrote in message <6h2fc0$lut$1@nnrp1.dejanews.com>...
>How can I create an array (in netscape's fasttrack perl)
>And how can i define the size of a variable??
>
>Please, help me!!
>Thanks!!!
>:)
>
Just start using the array, and perl will magically do everything it needs
for you
automatically, including destroying it later when you don't need it anymore.
------------------------------
Date: Thu, 16 Apr 1998 11:10:04 -0700
From: Jason Christian <jason@primal.ucdavis.edu>
Subject: Re: how to develop/test perl-cgi in local win32 development environment?
Message-Id: <Pine.OSF.3.95.980416105846.973F-100000@primal.ucdavis.edu>
On Thu, 16 Apr 1998, Dan Baker wrote:
> I'm looking for some input from the experts on the best ways to test
> perl-cgi programs when developing in the win32 (windows95) environment.
> it is becoming clear to me that I need to have either some form of a
> local web server or Perl module/daemon emulating this sort of thing to
> make perl and HTML form data interact correctly....
>
> could people please comment on what tools they have found effective in
> creating a development environment that allows local development and
> testing on a windows95 machine? I'm very interested in learning about
> what tools are required for effective editting (emacs, other?) testing,
> and web server emulation in a standalone environment. For instance, with
> editting I'm wondering what the best tool is to be able to jump to the
> correct line number when an error is given by Perl.
>
> for new perl developers like myself, please include URLs for where to
> grab things if you happen to have them handy!
You should think about what platform is going to be running the
webserver. Since it won't be win32, there is no reason to test and
program in that environment. To me, the first-best solution, that
involves no additional hardware and an expenditure of $$ only for
convenience, is to install a linux partition on your machine. You'll get
emacs in the package, and can get apache, and can set up your own server
environment in the comfort of your own machine. If the destination
server will be an NT, then I suppose there is some lower-grade solution
involving more dollars and time and less functionality...
I don't really see where win32 fits in to all this. Sure, the web
clients will mostly be using it, but if your html is decent, and if the
perl that is spitting out the html is working well on and with the
server, that is their problem, not yours.
http://www.redhat.com is one place to seek linux (rhymes, kinda, with
Kleenix).
---------------------------------------------------------------------------
Jason Christian University of California, Davis
jason@primal.ucdavis.edu Agricultural and Resource Economics
Office:(530)752-1357 FAX:(530)752-5614 Davis, CA 95616
------------------------------
Date: Thu, 16 Apr 1998 12:34:29 -0600
From: Dan Baker <dtbaker_@flash.net>
Subject: Re: how to develop/test perl-cgi in local win32 development environment?
Message-Id: <35364F35.91D@flash.net>
Jason Christian wrote:
>
> On Thu, 16 Apr 1998, Dan Baker wrote:
>
> > I'm looking for some input from the experts on the best ways to test
> > perl-cgi programs when developing in the win32 (windows95) environment.
> > it is becoming clear to me that I need to have either some form of a
> > local web server or Perl module/daemon emulating this sort of thing to
> > make perl and HTML form data interact correctly....
..snip
>
> You should think about what platform is going to be running the
> webserver. Since it won't be win32, there is no reason to test and
> program in that environment.
--------------
actually, in my case the application WILL be run on a windows95 machine.
I am working on a mini-application that creates HTML pages as the final
"product", and I am hoping to use HTML forms, cgi, and perl as a user
interface. I really just want to utilize the browser GUI to drive my
perl programs locally, so I don't ever need a "real" webserver... I just
need something to make the HTML forms pass data correctly to perl, and
perl to forms LOCALLY on my windows95 machine.
I know this is kind of a strange use for HTML, but I am hoping to
leverage the fairly easy interface of building HTML forms rather than
get more involved with visual basic and stuff like that...
Hopefully that helps explain the intended purpose of why I am
developing/testing, and RUNNING HTML, cgi, perl local on win32...
Dan
------------------------------
Date: 16 Apr 1998 18:22:45 GMT
From: cberry@cinenet.net (Craig Berry)
Subject: Re: How to insert a \n each...
Message-Id: <6h5i9l$eju$1@marina.cinenet.net>
greene@gucc.org wrote:
: Some people are determined to use regular expressions, even if it makes it
: harder to read and understand what is happening.
I've noticed that myself. I guess it's such a powerful tool that people
come to believe it's the best tool for every purpose.
: If this is the case here, I would suggest
:
: $line =~ s/.{10}/$&\n/g ;
:
: From the perlre document:
:
: $& returns the entire matched string. ($0 used to return the same thing,
: but not any more.)
It's generally a bad idea to use $& (and its cousins $` and $'). Any use
of any of these in any one regex slows down every regex in the entire
application. A better approach to adopt is
$line =~ s/(.{10})/$1\n/g;
Admittedly, in a small or throw-away app, the difference is unimportant,
but it's a good habit to get into.
---------------------------------------------------------------------
| Craig Berry - cberry@cinenet.net
--*-- Home Page: http://www.cinenet.net/users/cberry/home.html
| Member of The HTML Writers Guild: http://www.hwg.org/
"Every man and every woman is a star."
------------------------------
Date: 16 Apr 1998 18:48:55 GMT
From: turnerj@cliffy.lmtas.lmco.com (Jim Turner)
Subject: LWP::Simple::get/HTACCESS Question
Message-Id: <6h5jqn$c613@quest.lmtas.lmco.com>
Has anyone successfully used LWP::Simple::get() or any of the other
LWP:: module routines to fetch web-pages which require user-authentication?
Is there a way to pass the required user-name and password information to
LWP?
Many thanks in advance,
Jim Turner
jim.turner@lmco.com
------------------------------
Date: Thu, 16 Apr 1998 14:19:19 -0600
From: igor@everyware.com
Subject: MULTIPLICITY crash: HELP!!!
Message-Id: <6h5ljn$1np$1@nnrp1.dejanews.com>
Hi,
I've embedded Perl into a multithreaded app. Everything's by the book, and
everything works, as long as there is exactly 1 (one) interpretor running.
In any other case I crash. =I NEED YOUR HELP=. It was painful enough to
convince the suits to add Perl to the app. Now, I'm loosing big.
It is not a problem with MT, rather with running multiple interpreters.
And no, I cannot wait for 5.05. I badly need some workaround now.
The following example, which is slightly changed from the one in
perlembed.1 shows the problem, along with my system and Perl setup.
$ cat multiplicity.c
#include <EXTERN.h>
#include <perl.h>
#define SAY_HELLO "-e", "print qq(Hi, I'm $^X\n);"
int main(int argc, char **argv, char **env)
{
PerlInterpreter *one_perl;
PerlInterpreter *two_perl;
char *one_args[] = { "one_perl", SAY_HELLO };
char *two_args[] = { "two_perl", SAY_HELLO };
one_perl = perl_alloc();
perl_construct(one_perl);
perl_parse(one_perl, NULL, 3, one_args, (char **)NULL);
perl_run(one_perl);
two_perl = perl_alloc();
perl_construct(two_perl);
perl_parse(two_perl, NULL, 3, two_args, (char **)NULL);
perl_run(two_perl);
perl_destruct(two_perl);
perl_free(two_perl);
perl_destruct(one_perl);
perl_free(one_perl);
}
$ cc -o multiplicity multiplicity.c `perl -MExtUtils::Embed -e ccopts -e
ldopts`
$ multiplicity
Hi, I'm one_perl
Hi, I'm two_perl
Segmentation Fault(coredump)
$ dbx multiplicity core
Reading symbolic information for multiplicity
core file header read successfully
Reading symbolic information for rtld /usr/lib/ld.so.1
Reading symbolic information for libsocket.so.1
Reading symbolic information for libnsl.so.1
Reading symbolic information for libdl.so.1
Reading symbolic information for libm.so.1
Reading symbolic information for libc.so.1
Reading symbolic information for libintl.so.1
Reading symbolic information for libmp.so.1
Reading symbolic information for libw.so.1
program terminated by signal SEGV (no mapping at the fault address)
(dbx) where
=>[1] perl_destruct(0xbb408, 0xbabe4, 0x9a800, 0x1, 0xc1008, 0x100), at
0x1cd08
[2] main(0x1, 0xeffffb04, 0xeffffb0c, 0xaf800, 0x1, 0x0), at 0x1c908
(dbx) quit
$ perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
Platform:
osname=solaris, osvers=2.5, archname=sun4-solaris
uname='sunos gemini 5.5 generic_103093-14 sun4m sparc sunw,sparcstation-20
'
hint=recommended, useposix=true, d_sigaction=define
bincompat3=n useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags='-DMULTIPLICITY'
ccflags ='-DMULTIPLICITY'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=, so=so
useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-Kpic', lddlflags='-G'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY
Built under solaris
Compiled at Apr 6 1998 12:39:55
@INC:
/opt/perl5/lib/sun4-solaris/5.00404
/opt/perl5/lib
/opt/perl5/lib/site_perl/sun4-solaris
/opt/perl5/lib/site_perl
.
$
Thanks in advance for any help!
-igor
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
------------------------------
Date: Thu, 16 Apr 1998 18:48:14 GMT
From: John Porter <jdporter@min.net>
Subject: Re: OOPS and several parents
Message-Id: <353653D7.3211@min.net>
Kevin Reid wrote:
>
> sub new ($) {
> my $class = shift;
> my @parents = ();
> foreach (@ISA) {
> if ($_->can("new")) {
> push @parents, $_->new;
> }
> }
> $self = {
> (map {%{$_}} @parents),
> color => "red",
> rabbit_food => 0,
> };
> bless $self, $class;
> }
Or simply
bless {
( map { %{ $_->new() } } grep( $_->can('new'), @ISA ) ),
color => 'red',
rabbit_food => 0
}, $class;
John Porter
------------------------------
Date: 16 Apr 1998 19:07:25 GMT
From: smcdow@arlut.utexas.edu (Stuart McDow)
Subject: Re: Perl 5.004_64 Slower???
Message-Id: <6h5ktd$35s$1@ns1.arlut.utexas.edu>
ilya@math.ohio-state.edu (Ilya Zakharevich) writes:
>
> Say, try to do async signal processing with fork().
That would be all signals. What signals are not asynchronous?
How about fork()ing off the child early and having signals delivered
to it (or the process group)?
The thread vs. fork debate seems to be escalating to religious
proportions. I apologize for making my original post. I don't think
that debating it here is going to do any one any good. I withdraw my
statement, but I'm still not sold on threads.
--
Stuart McDow Applied Research Laboratories
smcdow@arlut.utexas.edu The University of Texas at Austin
"It is obvious that about 750,000 people ago, Austin was a wonderful City."
------------------------------
Date: 16 Apr 1998 19:30:08 GMT
From: lvirden@cas.org
Subject: Re: Perl 5.004_64 Slower???
Message-Id: <6h5m80$aco$4@srv38s4u.cas.org>
According to <lvirden@cas.org>:
:Yes, it is. I am using perl 5.004_64 on a SPARC 4 with lots of memory,
:Sun's compiler with lots of optimization at compile time.
:
:When I ran the script above using an old version of perl (5.004_01) I got
:times of 3.82/2.16/0.50, 2.64/2.17/0.35, 2.62/2.16/0.37 using the time
:command.
:
:Then, using perl 5.004_64 gives me times of 8.28/5.29/0.40, 5.81/5.29/0.30,
:and 5.72/5.27/0.36 .
:
:Looks like the system times are in the same ball park, but user time is
:about twice as slow. Note this has _nothing_ to do with threading compiled
:in - I wasn't able to get the threading code to compile in my environment
:the last time I tried.
I just found the cause of _my_ discrepancies!
The perl 5.04 version i was running turned out to NOT have the -DDEBUGGING
on while the 5.04_064 does. When I had both of them using the -DDEBUGGING,
the user and real times practically were the same.
--
<URL:mailto:lvirden@cas.org> Quote: In heaven, there is no panic,
<*> O- <URL:http://www.teraform.com/%7Elvirden/> only planning.
Unless explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.
------------------------------
Date: Thu, 16 Apr 1998 13:12:14 -0400
From: Ghost <ghost_unc@xxxxx.hotmail.com>
Subject: Re: PERL aware code editor
Message-Id: <35363BEE.2218BBD5@xxxxx.hotmail.com>
Glenn Schworak wrote:
>
> Hi, I am use to using a C editor that has a few nice features. The one I
> like most is the fact that comments and code are given two different
> colors while editing (not saved that way).
>
> I am wondering if there are such editors developed for PERL that will
> run under the Windows 95 environment. Also, are there any UNIX based
> programs that can do this by serving ANSI color codes to a telnet
> session?
another thread is talking about this. several people have already
suggested emacs for win32, textpad, and another editor. the last one
can do syntax highlighting (textpad probably also does?) but I like
Ultraedit most. it does syntax highlighting for almost any program
language (and you can add one easily) up to five colors -- e.g.
functions, comments, quoted strings in different colors. it can
show/print line number and column ruler. it can also launch DOS program
and catch the output (perl dubegger doesn't work, I don't know why.) it
also has a very powerful search function.
for more info see its webpage:
http://www.idmcomp.com/
also you can take a look at
http://www.winfiles.com/apps/98/text-editors.html
for other (dozens of) editors (free or shareware).
regards,
perl beginner
------------------------------
Date: 16 Apr 1998 18:45:59 GMT
From: orebauad@jmu.edu (Angela D. Orebaugh)
Subject: perl script for tacacs
Message-Id: <6h5jl7$nj5$2@lark.jmu.edu>
I am writing a perl script to draw reports from the tacacs-accounting
file for the dial in service. I need to compile information such as
the username, login and logout times, and time accumulated for statistical
and billing purposes. Does anyone have any good ideas or suggestions?
This is the first real perl scripting I have done.
thanks
angie
orebauad@jmu.edu
------------------------------
Date: Thu, 16 Apr 1998 14:21:22 -0400
From: Brad Baxter <bmb@ginger.libs.uga.edu>
Subject: Re: Question
Message-Id: <Pine.A41.3.96.980416141930.63622B-100000@ginger.libs.uga.edu>
When this has happened to me, it usually was because of ownerships and
permissions. The CGI typically runs as 'nobody'. If 'nobody' can't
create the file, then neither can your CGI. It runs fine on the command
line, because it's running as you.
HTH, Brad Baxter, UGA
On Wed, 15 Apr 1998, tw96 wrote:
> hello, everybody!
> i am a beginner to perl.
> i wrote a cgi program in perl.
> it will parse the form input, create a file to save them, then read sth from
> another file, to write a html file to the STDOUT.
> i run it by command line, it works.
> but when i using a page to action it, it can not create the file to save the
> form inputs!!!
> what's the problem? could somebody give a help?
>
> thanks!!!
>
> meng
>
>
>
>
>
>
------------------------------
Date: Thu, 16 Apr 1998 14:27:22 -0600
From: jfischer@ovid.com
Subject: Re: Regex problem: match maximal substring
Message-Id: <6h5m2p$2ll$1@nnrp1.dejanews.com>
In article <6h47vg$4tq$4@client3.news.psi.net>,
abigail@fnx.com wrote:
>
> Peter J. Scott (psf@euclid.jpl.nasa.gov) wrote on MDCLXXXIX September
> MCMXCIII in <URL: news:6h3qap$h7e@netline.jpl.nasa.gov>:
> ++ It seemed like a simple problem at the time I thought of it:
> ++ given a string $s and some text $t, find the longest substring of $s
> ++ in $t. But a simple solution eluded me. After reading Jeffrey Friedl's
> ++ regex book (which I will reread as soon as my head stops spinning - if
> ++ anyone knows of medication which will cure the "asterisks flashing before
> ++ the eyes" syndrome, please advise), I crafted the below, which appears to
> ++ work but I would not want at this point to advertise it as a testimonial
> ++ to the book's powers :-)
>
> Uhm, finding longest subsequences is a well known problem in
> combinatorics. You might want to dive into the literature to find
> a suitable algorithm. (No doubt will Sharir have written about
> subsequences).
>
> My intuition says that the Perl regex machine isn't going to help much.
>
> Abigail
> --
> perl -wle '$, = " "; print grep {(1 x $_) !~ /^(11+)\1+$/} 2 .. shift'
>
I cooked something up using the 'Length of the Longest Common
Subsequence' algorhythm.
Currently, this implementation uses quadratic space and time.
Its pretty easy to get make the space needed simply linear.
A good URL for further study is:
http://www.cs.pitt.edu/~kirk/cs1510/dynnotes/node5.html
Hope you can use it.
#!/usr/bin/perl
($a,$b) = @ARGV;
$llcs = &llcs($a,$b);
print $llcs, "\n";
# Length of the Longest Common Subsequence
# POTatO
# POpulaTiOn
# length(POTO) = 4
sub llcs {
my ($a,$b) = @_;
my ($aLen,$bLen,@a,@b);
if ( length($a) < length($b) ) {
($a,$b) = ($b,$a);
}
$aLen = length($a);
$bLen = length($b);
@a = split ( //, $a);
@b = split ( //, $b);
for ( $i=0; $i < $aLen; $i++) {
$T[$i][0]=0;
}
for ( $j=0; $j < $bLen; $j++) {
$T[0][$j]=0;
}
for ( $i =1 ; $i <= $aLen; $i++) {
for ( $j =1 ; $j <= $bLen; $j++) {
if ( $a[$i] eq $b[$j] ) {
$T[$i][$j] = $T[$i-1][$j-1] +1;
}
else {
$T[$i][$j] = &Max( $T[$i][$j-1], $T[$i-1][$j]);
}
}
}
return $T[$aLen][$bLen];
}
sub Max {
my ($a,$b) = @_;
if ($a > $b) {
return $a;
}
else {
return $b;
}
}
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
------------------------------
Date: Thu, 16 Apr 1998 12:26:52 -0700
From: Tim Cat <timur@gsmnet.com>
Subject: Win 95
Message-Id: <35365B7C.686359B1@gsmnet.com>
I am so interested in learning Perl and today is my first day.
I am stucked in the first step... What should I do
so that I can run Perl in Win 95, try my code and so on?
Thanx for your support in advance...
--
Timur Catakli
Web Developer
Bridge Telecom Inc.
http://www.gsmnet.com/timur
------------------------------
Date: Thu, 16 Apr 1998 12:32:34 -0700
From: Tim Cat <timur@gsmnet.com>
Subject: Win 95
Message-Id: <35365CD2.EC3FB9A8@gsmnet.com>
I think I couldn't send my last email.
Question is simple but the answer...
How can I learn Perl in Win 95 so that I can run my scripts and etc.
--
Timur Catakli
Web Developer
Bridge Telecom Inc.
http://www.gsmnet.com/timur
------------------------------
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 2339
**************************************