[11405] in Perl-Users-Digest
Perl-Users Digest, Issue: 5005 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Feb 26 18:07:31 1999
Date: Fri, 26 Feb 99 15:00:28 -0800
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, 26 Feb 1999 Volume: 8 Number: 5005
Today's topics:
Accounts Management with Web interface jnoviell@my-dejanews.com
Re: Accounts Management with Web interface (I R A Aggie)
Coding Question (Mike D.)
Re: compiling perl progs to be unreadable <gellyfish@btinternet.com>
Re: compiling perl progs to be unreadable <uri@home.sysarch.com>
Re: custom dial script - simple if you know how - I don <kosta@on-parade.com.au>
FAQ 6.23: How do I match a pattern that is supplied by <perlfaq-suggestions@perl.com>
Re: FAQ 6.23: How do I match a pattern that is supplied (Larry Rosler)
Re: garbage characters after html from cgi? (Larry Rosler)
Re: Help Translating IPs to Domain Name <Steve@ramjam.net>
Looking for 'user comments' perl script dismusic@hotmail.com
lwp client needs to accept cookies <jdhunter@nitace.bsd.uchicago.edu>
Re: MS/IIS4 and custom errors with a perl script (Ethan H. Poole)
Re: Multiple files via Net::FTP ??? (Charles DeRykus)
Re: Newbie : bash doesn't want to run my script ! <wmwilson1@go.com>
Re: Newbie : bash doesn't want to run my script ! (Steve Linberg)
Re: Perl comment <dboorstein@ixl.com>
Re: Perl comment <uri@home.sysarch.com>
Re: Perl comment (Bart Lateur)
Re: POD and expanding variables <gellyfish@btinternet.com>
quick newbie question <lost_ark@yahoo.com>
Relocation error with DB_File? <dwc3q@cs.virginia.edu>
Re: Scoping. I thought this would work (Steve Linberg)
Re: Strange behavior <jalil@corp.home.net>
Re: Strange behavior (Steve Linberg)
Re: syntax error? (Steve Linberg)
Re: syntax error? <jglascoe@giss.nasa.gov>
Re: syntax error? <uri@home.sysarch.com>
Re: syntax error? (Bart Lateur)
Re: syntax error? <Allan@Due.net>
Re: Using a glob with sort (Larry Rosler)
Re: What is %h=undef (assigning undef to a hash) suppos <droby@copyright.com>
Re: What is %h=undef (assigning undef to a hash) suppos <droby@copyright.com>
Re: What is %h=undef (assigning undef to a hash) suppos <wmwilson1@go.com>
Re: What is %h=undef (assigning undef to a hash) suppos (Larry Rosler)
Re: What is %h=undef (assigning undef to a hash) suppos <uri@home.sysarch.com>
Re: What is %h=undef (assigning undef to a hash) suppos (Bart Lateur)
Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Fri, 26 Feb 1999 21:40:37 GMT
From: jnoviell@my-dejanews.com
Subject: Accounts Management with Web interface
Message-Id: <7b74cj$v8g$1@nnrp1.dejanews.com>
Greetings,
I have a web CGI script that creates UNIX user accounts (in a temp. file).
Is there anyway I can update the try passwd file with the one I've just
created?
The passwd file has to remain "root" controlled.
In otherwords, can I virtually become "root" in my CGI script to do root
related tasks?
Any help would be appreciated.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: 26 Feb 1999 22:06:30 GMT
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: Accounts Management with Web interface
Message-Id: <slrn7de6s0.btj.fl_aggie@enso.coaps.fsu.edu>
On Fri, 26 Feb 1999 21:40:37 GMT, jnoviell@my-dejanews.com
<jnoviell@my-dejanews.com> wrote:
+ In otherwords, can I virtually become "root" in my CGI script to do root
+ related tasks?
<url:http://www.unixtools.org/cgiwrap/>
James
------------------------------
Date: Fri, 26 Feb 1999 22:10:12 GMT
From: sprintfer@yahoo.com (Mike D.)
Subject: Coding Question
Message-Id: <36d71bba.106289436@nntp.cts.com>
I have a mySQL table with 43,000 rows. The columsn are zip, latitude,
and longitude. Basically the table relates the zip to its latitude and
longitude (in radians).
I am using the following equation to find the distance between to zips
based on the lat and long.
$x = sin($lat1) * sin($lat2) + cos($lat1) * cos($lat2) * cos($lon1 -
$lon2);
$rad_dist = atan2(-$x, sqrt(-$x * $x + 1)) + 2 * atan2(1,1);
$disance_in_miles = $rad_dist * 3958.754;
Which works fine. But now I would like to query my table. Basically,
I would like to ask the database "Give me all the zip codes within 10
miles of this zip code."
The solution I currently have is to construct a mySQL statment like
SELECT zipcode FROM mytable WHERE( ($radius_in_miles <= $RADIUS) )
Where $radius_in_miles is basically the SQL form of the equation
above.
This code makes the database engine search all 43,000 records.
I am wondering if anyone knows how (or if it is possible) to change
the above equation so I can provide a $disance_in_miles and
$starting_lat and $starting_long - and have the equation return a
maximum lat and long. Then I can simply query the database for lats
and longs within a range.
Thank you for your help.
Mike D.
sprintfer@yahoo.com
------------------------------
Date: 25 Feb 1999 21:12:29 -0000
From: Jonathan Stowe <gellyfish@btinternet.com>
Subject: Re: compiling perl progs to be unreadable
Message-Id: <7b4ebt$k5$1@gellyfish.btinternet.com>
On Tue, 23 Feb 1999 16:04:32 +0100 Arnold M|ller wrote:
> I once found a tool called 'perl2exe' oder 'perltoexe' or sth.
...
> Perhaps there are some UNIX-clones, too.
> Hope you can find it.
And if there is what happens when you run the pogram 'strings' against it ?
/J\
--
Jonathan Stowe <jns@btinternet.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>
------------------------------
Date: 26 Feb 1999 17:14:47 -0500
From: Uri Guttman <uri@home.sysarch.com>
Subject: Re: compiling perl progs to be unreadable
Message-Id: <x7vhgohkx4.fsf@home.sysarch.com>
>>>>> "JS" == Jonathan Stowe <gellyfish@btinternet.com> writes:
JS> On Tue, 23 Feb 1999 16:04:32 +0100 Arnold M|ller wrote:
>> I once found a tool called 'perl2exe' oder 'perltoexe' or sth.
JS> ...
>> Perhaps there are some UNIX-clones, too.
>> Hope you can find it.
JS> And if there is what happens when you run the pogram 'strings'
JS> against it ?
interesting thought. what if you did that on a perl2exe on winblows? it
should also extract out the code. hell, you could just edit the binary
on emacs and do that.
about the only good way to do this is to write such bad code that no one
in their right mind would use it, let alone steal it. if they do, the
maintenance issues will be their punishment!
:-)
uri
--
Uri Guttman ----------------- SYStems ARCHitecture and Software Engineering
Perl Hacker for Hire ---------------------- Perl, Internet, UNIX Consulting
uri@sysarch.com ------------------------------------ http://www.sysarch.com
The Best Search Engine on the Net ------------- http://www.northernlight.com
------------------------------
Date: Sat, 27 Feb 1999 07:44:18 +1100
From: Kosta <kosta@on-parade.com.au>
Subject: Re: custom dial script - simple if you know how - I don't
Message-Id: <36D707A2.5472CE41@on-parade.com.au>
Well thanks, I appreciate the response:
but it's not as if I have a choice.
Catch 22
Perhaps I should then also ask if someone knows of a utility (written in
perl?) that will do the same.
Kosta
Christoph Wernli wrote:
> Kosta wrote:
> >
> > I need to ring a phone number once every hour to check if a line is
> > free or not.
> >
> > Please help if you can.
>
> The chances that somebody will join in is far greater if you post the -
> however tiny - piece of code you've put together already.
>
> -w
------------------------------
Date: 26 Feb 1999 13:59:03 -0700
From: Tom Christiansen <perlfaq-suggestions@perl.com>
Subject: FAQ 6.23: How do I match a pattern that is supplied by the user?
Message-Id: <36d70b17@csnews>
(This excerpt from perlfaq6 - Regexps
($Revision: 1.25 $, $Date: 1999/01/08 04:50:47 $)
part of the standard set of documentation included with every
valid Perl distribution, like the one on your system.
See also http://language.perl.com/newdocs/pod/perlfaq6.html
if your negligent system adminstrator has been remiss in his duties.)
How do I match a pattern that is supplied by the user?
Well, if it's really a pattern, then just use
chomp($pattern = <STDIN>);
if ($line =~ /$pattern/) { }
Or, since you have no guarantee that your user entered a valid regular
expression, trap the exception this way:
if (eval { $line =~ /$pattern/ }) { }
But if all you really want to search for a string, not a pattern, then
you should either use the index() function, which is made for string
searching, or if you can't be disabused of using a pattern match on a
non-pattern, then be sure to use `\Q'...`\E', documented in the perlre
manpage.
$pattern = <STDIN>;
open (FILE, $input) or die "Couldn't open input $input: $!; aborting";
while (<FILE>) {
print if /\Q$pattern\E/;
}
close FILE;
--
"A momentary lapse of stupidity" -- Dean Roehrich
------------------------------
Date: Fri, 26 Feb 1999 14:03:22 -0800
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: FAQ 6.23: How do I match a pattern that is supplied by the user?
Message-Id: <MPG.1140ba0adb06309598969f@nntp.hpl.hp.com>
In article <36d70b17@csnews> on 26 Feb 1999 13:59:03 -0700, Tom
Christiansen <perlfaq-suggestions@perl.com> says...
...
> chomp($pattern = <STDIN>);
> if ($line =~ /$pattern/) { }
...
> $pattern = <STDIN>;
This still needs chomping, I'll wager!
...
> print if /\Q$pattern\E/;
--
Larry Rosler
Hewlett-Packard Company
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Fri, 26 Feb 1999 13:28:09 -0800
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: garbage characters after html from cgi?
Message-Id: <MPG.1140b1c6535e672798969e@nntp.hpl.hp.com>
[Posted and a courtesy copy mailed.]
In article <7b70nm$rgp$1@nnrp1.dejanews.com> on Fri, 26 Feb 1999
20:38:15 GMT, duverm@hotmail.com <duverm@hotmail.com> says...
> Has anyone used some sort of script that generates html and noticed garbage
> characters at the end of the web document? I get one random character at the
> bottom of my html document. It doesn't show up on the view -> source, but it
> does on screen and in printouts.?
>
> My script is a Perl script that hits an Oracle database. But I don't think
> there is any problems with that. I get all of the results I want, except for
> that character at the bottom left of my screen.?
It has nothing to do with Perl. I think it is a browser bug peculiar to
Micro$hit Internet Explorer, because the same code doesn't produce the
garbage on Netscape Navigator.
--
Larry Rosler
Hewlett-Packard Company
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Fri, 26 Feb 1999 21:02:56 +0000
From: Steve Tobin <Steve@ramjam.net>
Subject: Re: Help Translating IPs to Domain Name
Message-Id: <v92jvVAAww12EwPN@rmmgroup.demon.co.uk>
Sorted !
Thanks.
In article <83zp61o31g.fsf@vcpc.univie.ac.at>, Tony Curtis <Tony.Curtis+
usenet@vcpc.univie.ac.at> writes
>Re: Help Translating IPs to Domain Name, Steve
><Steve@ramjam.net> said:
>
>Steve> I am writing a perl script to analyse my
>Steve> server logs. The logs contain only the IP
>
>What kind of server?
>
>Steve> Does anyone know a quicker way to translate
>Steve> IP addresses ?
>
>perldoc -f gethostbyname
>
>and an internal lookup hash.
>
>hth
>tony
Steve Tobin
mailto:Steve@rmmgroup.demon.co.uk
------------------------------
Date: Fri, 26 Feb 1999 21:45:36 GMT
From: dismusic@hotmail.com
Subject: Looking for 'user comments' perl script
Message-Id: <7b74ls$ve8$1@nnrp1.dejanews.com>
Hi there,
I'm hoping someone can help. I maintain a web site cataloging CDs with each
CD having a seperate page. I'm looking for a script that will let users add
comments about a cd and have them added to that page underneath the album
information I have provided. What I am looking for is basically a system
just like Amazon.com uses in allowing users to review books and music and
having these reviews appear under the product information. I've searched the
internet for this type of thing but have come up empty.
Please e-mail me directly with your reply,
Thanks, Trent
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Fri, 26 Feb 1999 22:23:54 GMT
From: John Hunter <jdhunter@nitace.bsd.uchicago.edu>
Subject: lwp client needs to accept cookies
Message-Id: <1rr9rcls79.fsf@cace.bsd.uchicago.edu>
I am trying to retrieve articles from the APS journal Physical Review
Letters via a perls script. When I do so, with LWP::Simple , I get a
webpage saying my browser needs to accept cookies, rather than the
document I requested. Can this be done with the LWP module or is
there any other route to this?
Here is an example URL that I'm trying to fetch; it points to a pdf
file:
http://ojps.aip.org/journal_cgi/getpdf?KEY=PRLTAO&cvips=PRLTAO000077000019004098000001
When I do so I get the message attached to the end of the post.
Thanks for any help.
JDH
--HTML message in response--
<HTML>
<HEAD><TITLE>Cookies Required</TITLE></HEAD>
<!-- see Dennis or Larry for edits to this page -->
<!-- path: /ojps1/apps/netscape/aip-apps/html -->
<!-- URL: http://sandbox(or)ojps.aip.org/error/cookies.html -->
<!-- the include files for cookie test:
in cookie capable browsers, cookie_noforce displays a message if cookies are disabled
include /journals/includes/cookie_noforce
in cookie capable browsers, cookie_force redirects the user to this page if cookies are disabled
include /journals/includes/cookie_force
users of non-cookie browsers are redirected to this page
-->
<BODY BGCOLOR="#FFFFFF">
<CENTER>
<TABLE WIDTH=560 CELLPADDING=6>
<TR>
<TD>
<A HREF="http://ojps.aip.org/">
<IMG SRC="/eimages/ojpshd.jpg" alt="The Online Journal Publishing Service" BORDER="0"><P>
<DIV align=right>
<A HREF = "JavaScript: onClick=history.go(-2)"><font face = helvetica size=-1 color = black><I>Return to previous page</I></font></A></DIV>
<hr size=1 width=560></A>
<center>
<table cellspacing="0" cellpadding="0" border ="0">
<tr>
<td><a href="/"><img src="/jimages/LOGIN/home.gif" border="0"></a></td><td><a href=
"/jhtml/ojsfaq.html"><img src="/jimages/LOGIN/login.gif" border="0"></a></td><td><a href="http://www.aip.org/ojs/faq.html">
<img src="/jimages/LOGIN/faq.gif" border="0"></a></td>
<td><a href="/"><img src="/jimages/LOGIN/csbar.gif"border="0"></td>
<td><a href="/"><img src="/jimages/LOGIN/subsbar.gif"border="0"></td>
<td><a href="http://www.aip.org/ojs/aboutojps.html"><img src="/jimages/LOGIN/about.gif"border="0"></td></tr>
</table>
<BR>
<IMG SRC="images/cookies.gif" ALT="." WIDTH="200" HEIGHT="54" BORDER="0"><p>
<B>
<font color="red" size=4>This service requires a web browser that supports and accepts cookies. You have been redirected to this page for any of the following reasons:</font></B>
<P>
<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="2" WIDTH=95%>
<TR><TD>
<OL>
<LI><A HREF="#1">You are an individual subscriber and you are using Microsoft Internet Explorer.</A>
<LI><A HREF="#2">You are using a browser that supports cookies, but cookies are disabled.</A>
<LI><A HREF="#3">You are using a browser that does not support cookies.</A>
</OL>
<P><A NAME="1"></A>
<B>Microsoft Internet Explorer:</B> Problems related to authentication and MSIE processing of cookies have been reported by <B>individual</B> subscribers when attempting to access subscription-controlled content <B>even if cookies are enabled</B>. This includes <B>full-text downloads</B>, <B>abstracts</B> (for those journals whose abstracts are below the fee-free line), <B>searching</B> for all journals, and access to <B>PINET Plus</B>. The symptom of this problem is that the user is inadvertently re-dir
ected to this page, instead of going to the login page, even though cookies have been enabled. To access the login screen, MSIE users with cookies enabled may
<A HREF = "JavaScript: onClick=history.go(-1)"><font face = helvetica size=-1><I>click here</I></font></A>, or use the browser <B>Back</B> button. For additional information on using MSIE with this service, please refer to our <A HREF="http://ojps.aip.org/cgi-bin/help_system?KEY=OJPS&TYPE=OJPS/GETMSIE"><I>MSIE Help Page</I>.</A>
<P><A NAME="2"></A><B>Browsers that support cookies:</B>
You may be using a browser that <B>does</B> support cookies, such as Netscape, but you have cookies disabled. Setting up your browser to accept cookies is easy, once you have located the cookie-settings in your browser preferences. Please refer to our <A HREF="cookprefs.html"><B>Browser Configuration Guide</B></A> for instructions on how to locate and configure your browser preferences to accept cookies.
<P><A NAME="3"></A><B>Browsers that do not support cookies:</B>
If you are using a browser that <B>does not</B> support cookies, such as Mosaic, cookie-capable browsers are available free from <A HREF="http://home.netscape.com/">Netscape Communications Corporation</A>, and <A HREF="http://home.microsoft.com/">Microsoft Corporation</A>.
We strongly recommend using <A HREF="http://home.netscape.com/communicator/navigator/v4.5/smartportal.html?cp=hom07prt2">Netscape Communicator</A> to take advantage of all OJPS features.
After you have downloaded and installed a cookie-capable browser, please return. If you require any technical assistance setting up your browser to access OJPS, please contact us via e-mail at <A HREF="mailto:ojshelp@aip.org">ojshelp@aip.org</A>, or by phone (toll-free in the U.S. and Canada) at 1-800-874-6383.
<P>
<HR ALIGN="center" WIDTH=500>
<P>
<B>How does this system use cookies?</B>
<P>
In this system, cookies are used in the access control software (login,
logoff) to enforce the time-out mechanism (no activity for 15 minutes and
a session is automatically terminated) and in the
Article Collection function (a cookie
is what allows your collection to remain populated with articles
you have added to it as long as you update the collection at least
once every 30 days).
<p>
<b>What are cookies exactly?</b>
<p>
Cookies are a general mechanism which server-side
connections (such as CGI
scripts) can use to both store and retrieve information
on the client side of the
connection. The addition of a simple, persistent,
client-side state significantly
extends the capabilities of Web-based client/server applications.
Cookies can be viewed as a mechanism by which each browser
keeps their own preferences.
Web browsers set aside a small amount of space on your hard drive to keep
these preferences; then, every time you visit a web site your browser checks to
see if you have any predefined preferences (cookies) for that
server. If you do, it
sends the cookie to the server along with the request for a web page.
The server, in turn, may transmit more cookie information back to
the client.
A browser will not give up its cookie data to any server except the one
that set it. The data stored in a cookie is
typically something like
a record of pages traversed or specific keys
created by client-server interaction that indicate a user
has a subscription to a particular online resource (URL).
<P>
<B>Additional Cookie Information:</B>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR> <TD>
<UL>
<LI> <A HREF="http://www.cookiecentral.com/test_cookie.htm">Cookie Central</A>
<LI> <A HREF="http://www.ciac.org/ciac/bulletins/i-034.shtml">CIAC Information Bulletin</A>
</UL>
</TD> </TR>
</TABLE>
<P>
The Online Journal Publishing Service makes use of the latest web technology to improve functionality and usability. Although other browsers can be used with OJPS,
the chart below shows the recommended software requirements for the different OJPS services:
<P>
<CENTER>
<TABLE BORDER="2" CELLPADDING="4" CELLSPACING="2">
<TR>
<TD align=middle BGCOLOR="#ECECEC"><B>Service</B></TD><TD align=middle BGCOLOR="#ECECEC"><B>Required</B></TD><TD align=middle BGCOLOR="#ECECEC"><B>Recommended</B></TD>
</TR>
<TR>
<TD align=middle>Authentication</TD><TD align=middle>Navigator 2.0+<BR>MSIE 2.0+</TD><TD align=middle>Navigator 4.0+<BR>MSIE 4.0+</TD></TR><TR>
<TD align=middle>HTML Forms</TD><TD align=middle>Navigator 2.0+<BR>MSIE 2.0+</TD><TD align=middle>Navigator 4.0+<BR>MSIE 4.0+</TD></TR><TR>
<TD align=middle>HTML Tables</TD><TD align=middle>Navigator 2.0+<BR>MSIE 2.0+</TD><TD align=middle>Navigator 4.0+<BR>MSIE 4.0+</TD></TR><TR>
<TD align=middle>Article Collection</TD><TD align=middle>Navigator 3.0+<BR>MSIE 3.0+</TD><TD align=middle>Navigator 4.0+<BR><B>MSIE 3.0+</B></TD></TR><TR>
<TD align=middle>Articles In Physics</TD><TD align=middle>Navigator 3.0+<BR>MSIE 4.0+</TD><TD align=middle>Navigator 4.0+<BR><B>MSIE 4.0+</B></TD></TR>
<TD align=middle>Weblinks</TD><TD align=middle>Navigator 2.0+<BR>MSIE 4.0+<BR>Acrobat 3.0+</TD><TD align=middle>Navigator 4.0+<BR>MSIE 4.0+<BR>Acrobat 3.0+</TD></TR><TR>
<TD align=middle>Enhanced<BR> Reference Links</TD><TD align=middle>Navigator 3.0+<BR>MSIE 4.0+<BR></TD><TD align=middle>Navigator 4.0+<BR>MSIE 4.0+<BR>(JavaScript Enabled)</TD></TR><TR>
</TABLE>
</CENTER>
<BR>
<P>
</TD> </TR>
</TABLE>
</center>
<P>
<HR size=1><br>
<table cellspacing="0" cellpadding="0" border ="0">
<tr>
<td><a href="/"><img src="/jimages/LOGIN/home.gif" border="0"></a></td><td><a href=
"/jhtml/ojsfaq.html"><img src="/jimages/LOGIN/login.gif" border="0"></a></td><td><a href="http://www.aip.org/ojs/faq.html">
<img src="/jimages/LOGIN/faq.gif" border="0"></a></td>
<td><a href="/"><img src="/jimages/LOGIN/csbar.gif"border="0"></td>
<td><a href="/"><img src="/jimages/LOGIN/subsbar.gif"border="0"></td>
<td><a href="http://www.aip.org/ojs/aboutojps.html"><img src="/jimages/LOGIN/about.gif"border="0"></td></tr>
</table>
</TABLE>
</CENTER>
</HTML>
------------------------------
Date: Fri, 26 Feb 1999 16:30:47 -0500
From: ehpoole@ingress.com (Ethan H. Poole)
Subject: Re: MS/IIS4 and custom errors with a perl script
Message-Id: <jVoAG9cY#GA.132@rejz.ij.net>
[Posted and Emailed] In article <01be61ba$98b2f970$8663fb96@nohw3835>,
Thierry.Masson@belgium-mail.com says...
>
>Hello,
>
>On a Apache/Unix server (SGI IRIX 6.5), I trap the HTML ERROR 404 to a perl
>script.
>
>Here is a simple Perl Script :
> print "HTTP/1.0 200 OK\r\n" if $ENV{PERLXS} eq "PerlIS" ; # For MS/IIS
>web server
> print "Content-type: text/html\n\n" ;
> while(($key,$val)=each %ENV) {
> print "$key=$val<br>\n" ; }
>
>When I ask for an non-existing page, I receive the env. variables. Among
>them :
> REQUEST_URI = /doc/non-existingpage.htm
> HTTP_HOST = sysil.noh.be.solvay.com:8888
> SCRIPT_FILENAME = /usr/local/apache/share/cgi-bin/printenv
> SERVER_PORT = 8888
> REMOTE_PORT = 1192
> REMOTE_ADDR = 195.251.99.134
> .... many others
>
>With this behaviour, I can get the requested page (REQUEST_URI)
>
>
>When I try the same thing on a MS/IIS4 server (Perl 5.003_07) using the
>Customs errors (404 error is mapped to a URL=/cgi-bin/printenv), I only
>have this single variable :
>
> PERLXS=PerlIS
>
>It sounds like the error code lauche the Perl script in another environment
>space.
>
>Thus anybody get an idea ?
Map your script to PERL.EXE rather than the ISAPI PERL.DLL. This will give
you the environment variables. However, I doubt you will get the REQUEST_URI
variable since it is unsupported in IIS, HTTP_REFERER may or may not contain
a useful value for your case - I have not tried using a script to trap 404
errors on IIS.
--
Ethan H. Poole | Website Design and Hosting,
| CGI Programming (Perl & C)..
========Personal=========== | ============================
* ehpoole @ ingress . com * | --Interact2Day, Inc.--
| http://www.interact2day.com/
------------------------------
Date: Fri, 26 Feb 1999 22:05:28 GMT
From: ced@bcstec.ca.boeing.com (Charles DeRykus)
Subject: Re: Multiple files via Net::FTP ???
Message-Id: <F7s814.3G9@news.boeing.com>
In article <920038220.375460@thrush.omix.com>,
Zenin <zenin@bawdycaste.org> wrote:
>[posted & mailed]
>
>Tom Turton <tturton@cowboys.anet-dfw.com> wrote:
>: I've installed Net::FTP and have it up and working, but it appears to be
>: missing a feature I normally use on ftp, that of multiple gets and puts
>: (mget, mput).
>:
>: Does anyone know if there is a way to do this in Net::FTP, or if there
>: is another module which allows this feature?
One way to fake it:
foreach my $file ($ftp->ls("bunchIwant*")) {
$ftp->get($file) or die "Net::FTP->get: couldn't get $file";
}
hth,
--
Charles DeRykus
------------------------------
Date: Fri, 26 Feb 1999 21:10:34 GMT
From: Mike Wilson <wmwilson1@go.com>
Subject: Re: Newbie : bash doesn't want to run my script !
Message-Id: <7b72k0$ti0$1@nnrp1.dejanews.com>
In article <7b6opb$ae2$1@front6.grolier.fr>,
"Patrick Fichou" <fichou@club-internet.fr> wrote:
> Hi,
>
> I want to run a script file from bash. It maybe simple but doesn't seem to
> work !
> 1/ I add this (first) line in my script :
>
> #!/usr/bin/perl
>
did you chmod+x scriptname?
P.S. you should use #!/usr/bin/perl -w, at least while you're
developing/porting/whatever
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Fri, 26 Feb 1999 16:19:51 -0500
From: linberg@literacy.upenn.edu (Steve Linberg)
Subject: Re: Newbie : bash doesn't want to run my script !
Message-Id: <linberg-2602991619520001@ltl1.literacy.upenn.edu>
In article <7b6upl$r8k$1@front5.grolier.fr>, "Patrick Fichou"
<fichou@club-internet.fr> wrote:
> Bash answers : unknown command os something like that...
How about quoting exactly what it says, so we can try to help you better?
And include a verbose directory listing of the directory that contains
your script.
--
Steve Linberg, Systems Programmer &c.
National Center on Adult Literacy, University of Pennsylvania
email: <linberg@literacy.upenn.edu>
WWW: <http://www.literacyonline.org>
------------------------------
Date: Fri, 26 Feb 1999 16:19:37 -0500
From: Dan Boorstein <dboorstein@ixl.com>
Subject: Re: Perl comment
Message-Id: <36D70FE9.D3E0AE98@ixl.com>
Larry Rosler wrote:
>
> [Posted and a courtesy copy mailed.]
>
> In article <36d6e5a3@csnews> on 26 Feb 1999 11:19:15 -0700, Tom
> Christiansen <tchrist@mox.perl.com> says...
> ...
> > % man perlfaq8
> >
> > How can I comment out a large block of perl code?
> >
> > Use embedded POD to discard it:
> ...
> > This can't go just anywhere. You have to put a pod directive where
> > the parser is expecting a new statement, not just in the middle of
> > an expression or some other arbitrary yacc grammar production.
>
> I can think of at least three other ways:
>
> 1. Embed the code in a subroutine definition. It will be parsed and
> not executed.
>
> 2. Embed the code in the consequent of a FALSE conditional. It will be
> parsed and not executed. (Is perl smart enough to optimize the
> conditional and the block away completely, as an optimizing C compiler
> would?)
>
> 3. Bracket the code with C preprocessor statements:
> #if 0
> ...
> #endif
> and run it with the '-P' flag. It will not be parsed and it can appear
> anywhere (except in a string-like context, of course), unlike all the
> previous methods.
4. if your text editor allows you to select the block of text and
perform a regex based substitution on just that block, then you
could set up a macro that allows you to insert/remove leading #'s
with just a few key-presses.
cheers,
dan
------------------------------
Date: 26 Feb 1999 16:50:44 -0500
From: Uri Guttman <uri@home.sysarch.com>
Subject: Re: Perl comment
Message-Id: <x7678oj0ln.fsf@home.sysarch.com>
>>>>> "DB" == Dan Boorstein <dboorstein@ixl.com> writes:
DB> 4. if your text editor allows you to select the block of text and
DB> perform a regex based substitution on just that block, then you
DB> could set up a macro that allows you to insert/remove leading #'s
DB> with just a few key-presses.
good ol' emacs (tom c.'s favorite OS :-) can block comment/uncomment in
multiple languages nice and easily. i mark the region and with one
keystroke, voila, tis done.
uri
--
Uri Guttman ----------------- SYStems ARCHitecture and Software Engineering
Perl Hacker for Hire ---------------------- Perl, Internet, UNIX Consulting
uri@sysarch.com ------------------------------------ http://www.sysarch.com
The Best Search Engine on the Net ------------- http://www.northernlight.com
------------------------------
Date: Fri, 26 Feb 1999 22:25:45 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: Perl comment
Message-Id: <36d81e33.962231@news.skynet.be>
[Off topic]
KC wrote:
>... instead of putting '#' at the beginning of each line
>line by line?
>
>Nope. The pound sign is it.
"pound" sign? The pound sign looks like a wobbly "L" with a hyphen
through it. This thingy is not a pound sign.
Granted, on some older systems (printers), both of these characters used
the same Ascii code, so you could switch between them. But that still is
not a reason to call this a pound sign. Yuck.
But what is it?
Bart.
------------------------------
Date: 25 Feb 1999 21:15:31 -0000
From: Jonathan Stowe <gellyfish@btinternet.com>
Subject: Re: POD and expanding variables
Message-Id: <7b4ehj$k9$1@gellyfish.btinternet.com>
On 23 Feb 1999 09:39:31 +0200 Jari Aalto+mail.emacs wrote:
>
>
> Is it possible to make Perl expand variables in POD?
>
> =pod
>
> =head VERSION
>
> $VERSION
>
> =cut
I dont think that this is possible but most people will use the RCS token
$Revision:$ or $Id:$ to achieve this sort of thing.
However RCS is nothing to do with Perl so I couldnt possibly comment further.
/J\
--
Jonathan Stowe <jns@btinternet.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>
------------------------------
Date: Fri, 26 Feb 1999 13:47:54 -0800
From: weasel <lost_ark@yahoo.com>
Subject: quick newbie question
Message-Id: <36D7168A.1516B9D2@yahoo.com>
I'm trying to read in a flat text file, however i'm trying to retain
some simple formating like indent and line break. I can't append <pre>
because it expands the size of the table cell, so i need to find a way
to pull formating infomation when im reading/printing it in the perl
script. any ideas?
thanks
------------------------------
Date: Fri, 26 Feb 1999 17:34:29 -0500
From: David Coppit <dwc3q@cs.virginia.edu>
Subject: Relocation error with DB_File?
Message-Id: <Pine.WNT.4.03.9902261732390.223-100000@legacy.cs.virginia.edu>
Hi,
I'm trying to use MLDBM, and have installed Berkeley DB, DB_File, and
their prerequisites. I'm getting a strange error though:
ld.so.1: /users/dwc3q/bin/perl: fatal: relocation error: file
/users/dwc3q/perl/lib/5.00502/sun4-solaris/auto/DB_File/DB_File.so: symbol
db_version: referenced symbol not found
Can anyone suggest a fix for this?
Thanks,
David
_________________________________________________________________________
David Coppit - Graduate Student coppit@cs.virginia.edu
The University of Virginia http://www.cs.virginia.edu/~dwc3q
"For I am a Bear of Very Little Brain,
and long words Bother me" - Winnie the Pooh
------------------------------
Date: Fri, 26 Feb 1999 17:02:39 -0500
From: linberg@literacy.upenn.edu (Steve Linberg)
Subject: Re: Scoping. I thought this would work
Message-Id: <linberg-2602991702400001@ltl1.literacy.upenn.edu>
In article <7b710u$75$1@murrow.corp.sgi.com>, gej@spamalot.mfg.sgi.com
(Gene Johannsen) wrote:
> print "$x, $y, $z\n";
>
> The last print has three undefined values.
Because the loop is finished, and the iterators are now undefined. It
didn't find anything, maxed out all three loops, and finished. Initialize
a "found" flag to 0 before the loop starts, set it to "1" when you find
something, and set your results to variables other than the loop
iterators.
--
Steve Linberg, Systems Programmer &c.
National Center on Adult Literacy, University of Pennsylvania
email: <linberg@literacy.upenn.edu>
WWW: <http://www.literacyonline.org>
------------------------------
Date: Fri, 26 Feb 1999 21:41:44 GMT
From: "Jalil Feghhi" <jalil@corp.home.net>
Subject: Re: Strange behavior
Message-Id: <920065304.268723@zeppelin.svr.home.net>
I firs open a file using this sub:
sub OpenConfFile{
($CnfFile) = @_;
open (CONFIGFH, $CnfFile) or LogError "Cannot open file $CnfFile: $!";
}
-Jalil
Steve Linberg
Steve Linberg wrote in message ...
>Are you using -w? Your example references a filehandle before you have
>done anything with it. If you are setting it up elsewhere, include that
>code in your sample. tell returns -1 on my system when used like this:
>
>$ perl
>my $pos = tell(FOO);
>print $pos;
>__END__
>-1
>
>--
>Steve Linberg, Systems Programmer &c.
>National Center on Adult Literacy, University of Pennsylvania
>email: <linberg@literacy.upenn.edu>
>WWW: <http://www.literacyonline.org>
------------------------------
Date: Fri, 26 Feb 1999 16:57:34 -0500
From: linberg@literacy.upenn.edu (Steve Linberg)
Subject: Re: Strange behavior
Message-Id: <linberg-2602991657340001@ltl1.literacy.upenn.edu>
In article <920065304.268723@zeppelin.svr.home.net>, "Jalil Feghhi"
<jalil@corp.home.net> wrote:
> I firs open a file using this sub:
>
> sub OpenConfFile{
> ($CnfFile) = @_;
> open (CONFIGFH, $CnfFile) or LogError "Cannot open file $CnfFile: $!";
> }
What does LogError do besides log the error? If there is an error with
the file, CONFIGFH will be undefined, and you will get your negative
response from tell. Does LogError die, or cause the process to stop?
--
Steve Linberg, Systems Programmer &c.
National Center on Adult Literacy, University of Pennsylvania
email: <linberg@literacy.upenn.edu>
WWW: <http://www.literacyonline.org>
------------------------------
Date: Fri, 26 Feb 1999 16:24:10 -0500
From: linberg@literacy.upenn.edu (Steve Linberg)
Subject: Re: syntax error?
Message-Id: <linberg-2602991624100001@ltl1.literacy.upenn.edu>
In article <36D7081A.A182FCE0@ix.netcom.com>, paxtond@ix.netcom.com wrote:
> I thought that this would be very easy to do but I am
> running into syntax errors. I think I am blind because I have been
> looking at this short script for quite some time and do not see the
> error.
Perl will tell you exactly where the error is. What is the message you
get when you try to run the script?
Are you using -w?
Are you using "use diagnostics"?
Are you using strict?
These will all help you to nail syntax errors, and many other kinds of
errors too.
--
Steve Linberg, Systems Programmer &c.
National Center on Adult Literacy, University of Pennsylvania
email: <linberg@literacy.upenn.edu>
WWW: <http://www.literacyonline.org>
------------------------------
Date: Fri, 26 Feb 1999 16:57:05 -0500
From: Jay Glascoe <jglascoe@giss.nasa.gov>
To: paxtond@ix.netcom.com
Subject: Re: syntax error?
Message-Id: <36D718B1.FAFB7246@giss.nasa.gov>
[posted and mailed]
"J. Daniel Paxton" wrote:
>
> For some reason I always feel like I am feeding myself to the lions
> whenever I post a question to this newsgroup.
You dare to post to comp.lang.perl.misc? have at you! ;^)
I can't find your syntax error, so I'll nitpick on other stuff.
All I gotta say is: "try using 'here' strings":
print <<"EOHTML" unless exists $timesleft{$Account_Number};
<html><head><title>Wrong USER ID</title></head>
<body><h1>Incorrect Information</h1><br>
I'm sorry, but it would appear that you've made an error
filling out the $Account_Number field correctly. Please click
back and try again.
</body></html>
EOHTML
;
-- which is worse: ignorance or apathy?
who knows. who cares.
------------------------------
Date: 26 Feb 1999 17:17:14 -0500
From: Uri Guttman <uri@home.sysarch.com>
Subject: Re: syntax error?
Message-Id: <x7sobshkt1.fsf@home.sysarch.com>
>>>>> "JG" == Jay Glascoe <jglascoe@giss.nasa.gov> writes:
JG> print <<"EOHTML" unless exists $timesleft{$Account_Number};
^ ^
no need for "" unless there are white space chars in the here token
(other reasons too). the default behavior of here strings is "".
if you wanted '' or `` semantics then quoting is needed.
uri
--
Uri Guttman ----------------- SYStems ARCHitecture and Software Engineering
Perl Hacker for Hire ---------------------- Perl, Internet, UNIX Consulting
uri@sysarch.com ------------------------------------ http://www.sysarch.com
The Best Search Engine on the Net ------------- http://www.northernlight.com
------------------------------
Date: Fri, 26 Feb 1999 22:29:33 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: syntax error?
Message-Id: <36d92031.1472209@news.skynet.be>
J. Daniel Paxton wrote:
>Of course the logic of the script may be flawed as well but I
>need to get past the syntax error at the line : "if (exists $timesleft"
>
>Please help:
>
># Check for user authorization and decrement
>
>tie %timesleft, 'DB_File', 'users.dbm';
>
>if (exists $timesleft{$Account_Number}) {
It looks to me like tie misses an argument.
Bart.
------------------------------
Date: Fri, 26 Feb 1999 17:58:05 -0500
From: "Allan M. Due" <Allan@Due.net>
Subject: Re: syntax error?
Message-Id: <yGFB2.20$EU1.484@nntp1.nac.net>
J. Daniel Paxton wrote in message <36D7081A.A182FCE0@ix.netcom.com>...
:For some reason I always feel like I am feeding myself to the lions
:whenever I post a question to this newsgroup. I must admit that most
:replies have been very helpful in the past so and as I am still a newbie
:to PERL I must continue to ask newbie-style questions. I am trying to
:access a dbm file, check for user name, and then decrement for each use
:by specific user. I thought that this would be very easy to do but I am
:running into syntax errors. I think I am blind because I have been
:looking at this short script for quite some time and do not see the
:error. Of course the logic of the script may be flawed as well but I
:need to get past the syntax error at the line : "if (exists $timesleft"
:
:Please help:
:
:# Check for user authorization and decrement
:
:tie %timesleft, 'DB_File', 'users.dbm';
:
:if (exists $timesleft{$Account_Number}) {
: $timesleft {$Account_Number} --;
Ok just a quick guess. Is it my lame newsreader or are there extra spaces in
there.
$timesleft{$Account_Number}--;
HTH
AmD
--
$email{'Allan M. Due'} = ' All@n.Due.net '
--random quote--
[End of diatribe. We now return you to your regularly scheduled
programming...]
Larry Wall in Configure from the perl distribution
------------------------------
Date: Fri, 26 Feb 1999 13:07:05 -0800
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: Using a glob with sort
Message-Id: <MPG.1140acd58880fc298969c@nntp.hpl.hp.com>
[Posted and a courtesy copy mailed.]
In article <MPG.1140986979c242409896c1@206.184.139.132> on Fri, 26 Feb
1999 11:40:02 -0800, Bill Moseley <moseley@best.com> says...
...
> I also had tried assigning an anonymous sub to a scalar and then calling
> the sort as foreach (sort $sort->() keys %hash) but that's was off, too.
It has to be something like this, which seems inefficient:
foreach (sort { $sort->() } keys %hash)
or, equivalently:
foreach (sort { &$sort } keys %hash)
or, equivalently:
sub sortsub { &$sort }
foreach (sort sortsub keys %hash)
This was discussed extensively last October, in a thread starting at:
<URL:http://x15.dejanews.com/[ST_rn=ps]/getdoc.xp?AN=399722158>
IIRC, a request was made to support direct access to the sort sub via a
subroutine reference (as you desire), but I don't know what (if
anything) has happened since.
--
Larry Rosler
Hewlett-Packard Company
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Fri, 26 Feb 1999 20:53:23 GMT
From: Don Roby <droby@copyright.com>
Subject: Re: What is %h=undef (assigning undef to a hash) supposed to do ?
Message-Id: <7b71ju$seu$1@nnrp1.dejanews.com>
In article <7b6tjl$og4$1@nnrp1.dejanews.com>,
Mike Wilson <wmwilson1@go.com> wrote:
> In article <36D6D93D.EDD099AF@atos.be>,
> Arnauld Van Muysewinkel <avm@atos.be> wrote:
> > I'm debugging some ugly Perl code written by someone else.
> >
> > An error as shown up since I upgraded from Perl 5.004_04 to Perl
> > 5.005_02
> >
> > Somewhere in the code there is something like : %h=undef;
> I think what that person wanted to do is:
>
> foreach my $key (sort keys(%h)) {
>
> delete $h{$key};
>
> }
>
> undef'ing a hash is a wrong, ugly way to try to accomplish this.
>
Well, he told us it was ugly code.
But yours is I think a bit inefficient. You don't need to iterate through the
keys of a hash just to delete all the entries, and you CERTAINLY don't need to
sort them.
%h = ();
--
Don Roby
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Fri, 26 Feb 1999 20:52:41 GMT
From: Don Roby <droby@copyright.com>
Subject: Re: What is %h=undef (assigning undef to a hash) supposed to do ?
Message-Id: <7b71ik$sec$1@nnrp1.dejanews.com>
In article <7b6tjl$og4$1@nnrp1.dejanews.com>,
Mike Wilson <wmwilson1@go.com> wrote:
> In article <36D6D93D.EDD099AF@atos.be>,
> Arnauld Van Muysewinkel <avm@atos.be> wrote:
> > I'm debugging some ugly Perl code written by someone else.
> >
> > An error as shown up since I upgraded from Perl 5.004_04 to Perl
> > 5.005_02
> >
> > Somewhere in the code there is something like : %h=undef;
> I think what that person wanted to do is:
>
> foreach my $key (sort keys(%h)) {
>
> delete $h{$key};
>
> }
>
> undef'ing a hash is a wrong, ugly way to try to accomplish this.
>
Well, he told us it was ugly code.
But yours is I think a bit inefficient. You don't need to iterate through the
keys of a hash just to delete all the entries, and you CERTAINLY don't need to
sort them.
%h = ();
--
Don Roby
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Fri, 26 Feb 1999 21:03:25 GMT
From: Mike Wilson <wmwilson1@go.com>
Subject: Re: What is %h=undef (assigning undef to a hash) supposed to do ?
Message-Id: <7b726m$t1i$1@nnrp1.dejanews.com>
Sorry!!! DejaNews said it couldn't post, so ...obviously.. I kept trying...
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Fri, 26 Feb 1999 13:10:26 -0800
From: lr@hpl.hp.com (Larry Rosler)
Subject: Re: What is %h=undef (assigning undef to a hash) supposed to do ?
Message-Id: <MPG.1140ad9cebfe56af98969d@nntp.hpl.hp.com>
[Posted and a courtesy copy mailed.]
In article <7b6tkl$oia$1@nnrp1.dejanews.com> on Fri, 26 Feb 1999
19:45:28 GMT, Mike Wilson <wmwilson1@go.com> says...
...
> foreach my $key (sort keys(%h)) {
>
> delete $h{$key};
>
> }
What Zenin hopefully calls a joke and what I can't comprehend has now
shown up four times. Please fix your newsreader!
--
Larry Rosler
Hewlett-Packard Company
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: 26 Feb 1999 16:47:44 -0500
From: Uri Guttman <uri@home.sysarch.com>
Subject: Re: What is %h=undef (assigning undef to a hash) supposed to do ?
Message-Id: <x7aey0j0qn.fsf@home.sysarch.com>
>>>>> "LR" == Larry Rosler <lr@hpl.hp.com> writes:
LR> [Posted and a courtesy copy mailed.]
LR> In article <7b6tkl$oia$1@nnrp1.dejanews.com> on Fri, 26 Feb 1999
LR> 19:45:28 GMT, Mike Wilson <wmwilson1@go.com> says...
LR> ...
>> foreach my $key (sort keys(%h)) {
>>
>> delete $h{$key};
>>
>> }
LR> What Zenin hopefully calls a joke and what I can't comprehend has now
LR> shown up four times. Please fix your newsreader!
he is using dejanews for a reader which is the joke. :-)
uri
--
Uri Guttman ----------------- SYStems ARCHitecture and Software Engineering
Perl Hacker for Hire ---------------------- Perl, Internet, UNIX Consulting
uri@sysarch.com ------------------------------------ http://www.sysarch.com
The Best Search Engine on the Net ------------- http://www.northernlight.com
------------------------------
Date: Fri, 26 Feb 1999 22:18:36 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: What is %h=undef (assigning undef to a hash) supposed to do ?
Message-Id: <36d71cff.654760@news.skynet.be>
Mike Wilson wrote:
>undef'ing a hash is a wrong, ugly way to try to accomplish this.
No it's not. But assigning undef to a hash is not undef'ing it. And it
gives a warning: "Odd number of elements in hash list", which gives a
clue to what the code actually does.
Two alternatives:
undef %h;
or
%h = ();
Bart.
------------------------------
Date: 12 Dec 98 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Special: Digest Administrivia (Last modified: 12 Dec 98)
Message-Id: <null>
Administrivia:
Well, after 6 months, here's the answer to the quiz: what do we do about
comp.lang.perl.moderated. Answer: nothing.
]From: Russ Allbery <rra@stanford.edu>
]Date: 21 Sep 1998 19:53:43 -0700
]Subject: comp.lang.perl.moderated available via e-mail
]
]It is possible to subscribe to comp.lang.perl.moderated as a mailing list.
]To do so, send mail to majordomo@eyrie.org with "subscribe clpm" in the
]body. Majordomo will then send you instructions on how to confirm your
]subscription. This is provided as a general service for those people who
]cannot receive the newsgroup for whatever reason or who just prefer to
]receive messages via e-mail.
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 5005
**************************************