[19164] in Perl-Users-Digest
Perl-Users Digest, Issue: 1359 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Jul 23 11:05:43 2001
Date: Mon, 23 Jul 2001 08:05:09 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <995900709-v10-i1359@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Mon, 23 Jul 2001 Volume: 10 Number: 1359
Today's topics:
Re: about image::Magick quality. <mjcarman@home.com>
Re: autovivification (was: Re: about image::Magick qua <mjcarman@home.com>
Re: Bad Return-Path when using Mail::Mailer (Villy Kruse)
Re: Current Directory <djberge@uswest.com>
Deciphering error messages: eval <kj0@mailcity.com>
Re: Engineering vs. Hacking (was Re: How to supply modu <godzilla@stomp.stomp.tokyo>
Help replacing strings needed. (Mark Smith)
Re: How do I count the number of characters in a string <carlos@plant.student.utwente.nl>
Large Filesystem Scrubbers <kirbyr@ucar.edu>
New posters to comp.lang.perl.misc <gbacon@cs.uah.edu>
Regular Expression Experts <ghed9@netzero.net>
Re: Regular Expression Experts <jonni@nospam.ifm.liu.se>
Re: Regular Expression Experts <nospam.jonni@ifm.liu.se>
Re: Regular Expression Experts <ghed9@netzero.net>
Re: Regular Expression Experts <godzilla@stomp.stomp.tokyo>
Re: Remote updating of my website (Graham)
Sendmail with Win32 (Jeff Hill)
Re: single user mode? <andras@mortgagestats.com>
Statistics for comp.lang.perl.misc <gbacon@cs.uah.edu>
Upgrade Perl on RH7.1 From Source (Kevin der Kinderen)
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 23 Jul 2001 08:27:38 -0500
From: Michael Carman <mjcarman@home.com>
Subject: Re: about image::Magick quality.
Message-Id: <3B5C264A.972438EF@home.com>
stephh wrote:
>
> Got it, thanks!
> I didn't see the @_ in your list!
> And then you call it like that :
> mysub ( 'foo' => 'bar', 'anything' => 'really' );
Yep.
> I'm not used to this approch..
> But I'm shure moving to it
> cause I guess it makes subs easier to read..
Sometimes. But don't do it just for the sake of doing it. Perl hackers
are Lazy (the good kind) and don't want to have to type any more than
necessary. We'd all get very annoyed if we had to start typing
open(handle => FOO, file => 'foo.txt') or die(message => $!);
instead of
open(FOO, 'foo.txt') or die "$!";
> I often write wery small subs with 1 or 2 args,
> so $arg = shift; is very practical...
That's fine, and it's what you should do most of the time.
> Anyway, I'm wandering whether you miss quotes around hash keys ?
No, the => (sometimes called a "fat comma") will automatically
single-quote barewords on the left side, so you rarely need to
explicitly quote your hash keys.
-mjc
------------------------------
Date: Mon, 23 Jul 2001 08:15:45 -0500
From: Michael Carman <mjcarman@home.com>
Subject: Re: autovivification (was: Re: about image::Magick quality.)
Message-Id: <3B5C2381.D6CF982E@home.com>
Benjamin Goldberg wrote:
>
> Michael Carman wrote:
> >
> > The normal method of creating subroutines in Perl doesn't allow for
> > named or optional parameters. There is, however, a way of doing both
> > by using a hash to store your arguments:
> >
[...]
> > There's a slight catch, though. Because of autovivification, it's
> > quite possible to call mysub(quux => 'oops!').
>
> This isn't autovivification...
Argh. Poor choice of words on my part.
-mjc
------------------------------
Date: 23 Jul 2001 13:32:22 GMT
From: vek@pharmnl.ohout.pharmapartners.nl (Villy Kruse)
Subject: Re: Bad Return-Path when using Mail::Mailer
Message-Id: <slrn9lo9pc.bb8.vek@pharmnl.ohout.pharmapartners.nl>
On Mon, 23 Jul 2001 15:28:15 +0300,
Henri Sivonen <henris@clinet.fi> wrote:
>I noticed that messages sent over SMTP with Mail::Mailer have a header
>like this:
>Return-Path: <uid-that-runs-the-script@domain-without-computer-name>
>
>This can be a serious problem if the constructed address is not really
>your address--ie. the userid that runs the script is not an ISP userid
>belonging to the same user.
>
>I tried adding a header called Return-Path explicitly, but it didn't
>work. How can I put my real address in the Return-Path header? Where is
>the header generated?
>
The return path comes from the -f option used when invoking sendmail
as a program or the "MAIL FROM: " SMTP command when talking SMTP to
a server.
Villy
------------------------------
Date: Mon, 23 Jul 2001 08:27:59 -0500
From: "Mr. Sunray" <djberge@uswest.com>
Subject: Re: Current Directory
Message-Id: <3B5C265F.A2ACCD25@uswest.com>
ffg wrote:
> Hi there Anyone know how to return the current directory which works on UNIX
> & windows? I'm new to all this and I am a bit stuck! Can't even get the
> stuff below to work
>
> Pasted from the help files
> ===================================================
> $cpath = File::Spec->canonpath( $path ) ;
>
> curdir
>
> Returns a string representation of the current directory. ``.'' on UNIX.
> ===================================================
>
> Message when run Can't locate object method "canonpath" via package
> "File::Spec"
>
> Message when run Can't locate object method "curdir" via package
> "File::Spec"
>
> Cheers
use Cwd;
getcwd();
Works on Unix and Windows, afaik.
------------------------------
Date: 23 Jul 2001 09:47:09 -0400
From: kj0 <kj0@mailcity.com>
Subject: Deciphering error messages: eval
Message-Id: <9jh9st$e9u$1@panix3.panix.com>
I'm trying to decipher error messages of this type:
my_cgi_script: Use of uninitialized value at (eval 13) line 17.
I take it that this refers to the 17th line of the string eval'd in
the 13th call to eval (my_cgi_script doesn't have a line 17). How can
I find out what string this is?
Thanks,
KJ
------------------------------
Date: Mon, 23 Jul 2001 07:04:58 -0700
From: "Godzilla!" <godzilla@stomp.stomp.tokyo>
Subject: Re: Engineering vs. Hacking (was Re: How to supply modules with your software.)
Message-Id: <3B5C2F0A.6EE7E9CF@stomp.stomp.tokyo>
David Coppit wrote:
> Godzilla! wrote:
> > Eric Bohlman wrote:
> >>Yep, the difference between engineering and dabbling is that in
> >>engineering, you design your system to be able to work under >>worst-case
> >>conditions, whereas when you're dabbling you only care that it works >>under
> >>ideal conditions. The mark of a poor developer is that he/she >>believes
> >>that Murphy's Law has been repealed.
> > The mark of a poor thinking person is just that; his thinking.
(shoveled out massive heaps of mule manure)
> This is a well known figure among software engineers, sorta like the
> 80/20 rule. It was first quantified by Belady and Lehman
> ("Characteristics of Large Systems", Belady & Lehman 1977) studying the
> development of OS 360. Of course, it really depends on the application
> and how you count, but most later studies have averaged less than 100
> LOC/day (particularly studies of NASA software). This number goes up
> when you do OO because of the bloat. :)
Your reference is incorrect.
"IBM Systems Journal 15, 3, 1976, pp 225-252"
You cite, as support, an abstract based upon maintenance of legacy
binary executable operating system code, you cite this as support
of Bohlman's wild-eyed claim a programmer writing natural language
code, Perl for this topic, can only produce ten lines of code per
day as an average? This reference you cite is nearly thirty years
old, pertains to legacy maintenance, is not supported by any controlled
statistical survey, discusses aspects of binary executable programming
and is written for IBM specific programming.
You apply this to Perl, a natural programming language?
Do you bag your mule manure and bring it with you to this newsgroup
or produce your mule manure as you make up this idiocy?
As you can readily surmise, I will express any opinion I deem fit
and appropriate despite your dictates as a yet another self-proclaimed
Perl Perl Land deity. I don't cotton much to those here like you whom
believe you have both a right and duty to dictate and moderate what
opinions may or may not be presented within this newsgroup.
Godzilla!
------------------------------
Date: 23 Jul 2001 07:47:52 -0700
From: Mark.S.Smith@marconi.com (Mark Smith)
Subject: Help replacing strings needed.
Message-Id: <c4c08f5f.0107230647.19ab76c9@posting.google.com>
I have a script that reads in a file in the following format.
files {
"..\..\..\path\files\filename.ext",
"..\..\somepath\anotherfile.txt",
"..\..\..\mypath\new\generated\last_file.as"
}
config {
}
It asks the user to specify a path name. What I need to do is write
out the file I've read in but where I have quotes I want to replace
the path with the one entered by the user and to keep the filename at
the end. It must maintain the format as above with no comma after the
last quote and all the other surrounding information.
I've tried different things but nothing that quite does what I want.
Can anyone help?
Thanks in advance.
Mark.
------------------------------
Date: Mon, 23 Jul 2001 16:04:44 +0200
From: "carlos" <carlos@plant.student.utwente.nl>
Subject: Re: How do I count the number of characters in a string
Message-Id: <9jhatt$cee$1@dinkel.civ.utwente.nl>
RTFM!
"J.D. Fieldsend" <u9jdf@csc.liv.ac.uk> wrote in message
news:3B5C0795.A79D7050@csc.liv.ac.uk...
> Hi
>
> I want to be able to tabulate text without knowing beforehand how many
> characters are in each string.
>
> Thanks
>
> John
------------------------------
Date: Mon, 23 Jul 2001 08:40:22 -0600
From: Rob Kirby <kirbyr@ucar.edu>
Subject: Large Filesystem Scrubbers
Message-Id: <3B5C3756.760B3B01@ucar.edu>
Hi,
We have a relatively large GPFS filesystem that we support (~2TB),
and we have a home grown filesystem scrubber which will get rid of files
based on thresholds, i.e. if %utilization reaches a certain high
level then the scrubber will scrub the oldest files down to
a certain low level. Also, it supports an "exempt" list for
those files and users who are exempt from the scrubber. That's
it in a nutshell.
The problem I currently have though is that I have inherited the
scrubber and it was written by different people no longer involved
and consists of a half dozen home-brew utilities written very generically,
to work on other platforms besides AIX. I would like to convert the
whole thing from C code into Perl code, but I fear that performance
will suffer seeings how I need to walk the complete tree and stat every
single file, excluding open files, then sorting on the oldest files
first.......... if you catch my drift ;-)
My question for the forum is, given a 1TB or greater size
filesystem, is there anything out there that anyone is using
that claims to have good performance on tera scale filesystems,
that will do what our scrubber is doing?
Thanks!
--
Rob Kirby - [mailto:kirbyr@ucar.edu][http://www.ncar.ucar.edu]
--
"Simplify, simplify." Thoreau
------------------------------
Date: Mon, 23 Jul 2001 14:04:52 -0000
From: Greg Bacon <gbacon@cs.uah.edu>
Subject: New posters to comp.lang.perl.misc
Message-Id: <tlobo48hdhoedd@corp.supernews.com>
Following is a summary of articles from new posters spanning a 7 day
period, beginning at 16 Jul 2001 15:18:04 GMT and ending at
23 Jul 2001 13:38:36 GMT.
Notes
=====
- A line in the body of a post is considered to be original if it
does *not* match the regular expression /^\s{0,3}(?:>|:|\S+>|\+\+)/.
- All text after the last cut line (/^-- $/) in the body is
considered to be the author's signature.
- The scanner prefers the Reply-To: header over the From: header
in determining the "real" email address and name.
- Original Content Rating (OCR) is the ratio of the original content
volume to the total body volume.
- Find the News-Scan distribution on the CPAN!
<URL:http://www.perl.com/CPAN/modules/by-module/News/>
- Please send all comments to Greg Bacon <gbacon@cs.uah.edu>.
- Copyright (c) 2001 Greg Bacon.
Verbatim copying and redistribution is permitted without royalty;
alteration is not permitted. Redistribution and/or use for any
commercial purpose is prohibited.
Totals
======
Posters: 149 (44.7% of all posters)
Articles: 257 (26.2% of all articles)
Volume generated: 473.2 kb (26.0% of total volume)
- headers: 210.2 kb (4,232 lines)
- bodies: 252.8 kb (8,905 lines)
- original: 173.6 kb (6,429 lines)
- signatures: 9.9 kb (239 lines)
Original Content Rating: 0.687
Averages
========
Posts per poster: 1.7
median: 1 post
mode: 1 post - 101 posters
s: 1.7 posts
Message size: 1885.5 bytes
- header: 837.6 bytes (16.5 lines)
- body: 1007.4 bytes (34.6 lines)
- original: 691.9 bytes (25.0 lines)
- signature: 39.5 bytes (0.9 lines)
Top 10 Posters by Number of Posts
=================================
(kb) (kb) (kb) (kb)
Posts Volume ( hdr/ body/ orig) Address
----- -------------------------- -------
10 13.1 ( 8.2/ 4.9/ 2.4) MMX166+2 . 1G HD <no@mail.addr>
7 15.3 ( 6.6/ 7.0/ 4.8) Ilmari Karonen <usenet11522@itz.pp.sci.fi>
6 7.5 ( 4.1/ 3.0/ 1.4) Rene Nyffenegger <rene.nyffenegger@gmx.ch>
6 12.2 ( 5.0/ 7.2/ 3.0) Haber Schabernackel <schabernackel@hotmail.com>
6 9.9 ( 4.6/ 3.1/ 1.3) Ilya Martynov <ilya@martynov.org>
6 9.6 ( 4.1/ 5.5/ 5.0) John Almberg <jalmberg@identry.com>
5 16.4 ( 6.6/ 9.8/ 5.7) Melissa Niles <mniles@itm.com>
5 10.2 ( 4.4/ 5.8/ 3.0) "James" <shijialee@yahoo.com>
5 10.7 ( 4.5/ 4.9/ 3.9) Ilmari Karonen <usenet11520@itz.pp.sci.fi>
5 13.5 ( 5.4/ 8.1/ 3.2) jay <seandarcy@hotmail.com>
These posters accounted for 6.2% of all articles.
Top 10 Posters by Volume
========================
(kb) (kb) (kb) (kb)
Volume ( hdr/ body/ orig) Posts Address
-------------------------- ----- -------
27.0 ( 0.8/ 26.3/ 25.6) 1 NOSPAMlekkerinsydney@ozemail.com.au
16.4 ( 6.6/ 9.8/ 5.7) 5 Melissa Niles <mniles@itm.com>
15.3 ( 6.6/ 7.0/ 4.8) 7 Ilmari Karonen <usenet11522@itz.pp.sci.fi>
14.0 ( 3.6/ 10.5/ 10.1) 4 "Racso" <racso83@bellatlantic.net>
13.5 ( 5.4/ 8.1/ 3.2) 5 jay <seandarcy@hotmail.com>
13.1 ( 8.2/ 4.9/ 2.4) 10 MMX166+2 . 1G HD <no@mail.addr>
12.2 ( 5.0/ 7.2/ 3.0) 6 Haber Schabernackel <schabernackel@hotmail.com>
10.7 ( 4.5/ 4.9/ 3.9) 5 Ilmari Karonen <usenet11520@itz.pp.sci.fi>
10.2 ( 4.4/ 5.8/ 3.0) 5 "James" <shijialee@yahoo.com>
10.0 ( 3.5/ 6.6/ 4.2) 4 "Brian D. Green" <greenbd@u.washington.edu>
These posters accounted for 7.8% of the total volume.
Top 10 Posters by OCR (minimum of three posts)
==============================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
1.000 ( 0.5 / 0.5) 3 "Bob Rock" <nospam.yet_another_apprentice@hotmail.com>
1.000 ( 0.3 / 0.3) 3 "Bob Rock" <no_spam.yet_another_apprentice@hotmail.com>
0.961 ( 10.1 / 10.5) 4 "Racso" <racso83@bellatlantic.net>
0.902 ( 5.0 / 5.5) 6 John Almberg <jalmberg@identry.com>
0.902 ( 2.7 / 3.0) 3 Nipa <npatel@webley.com>
0.797 ( 3.9 / 4.9) 5 Ilmari Karonen <usenet11520@itz.pp.sci.fi>
0.789 ( 0.6 / 0.7) 3 Matt <kanem@ic.edu>
0.768 ( 3.7 / 4.9) 4 Alexis Machin <a.m@myDesktop.somewhereOverTheRainbow.org.nospam>
0.688 ( 4.8 / 7.0) 7 Ilmari Karonen <usenet11522@itz.pp.sci.fi>
0.635 ( 4.2 / 6.6) 4 "Brian D. Green" <greenbd@u.washington.edu>
Bottom 10 Posters by OCR (minimum of three posts)
=================================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
0.514 ( 3.0 / 5.8) 5 "James" <shijialee@yahoo.com>
0.494 ( 2.0 / 4.1) 4 Jasper McCrea <jmccrea@guideguide.com>
0.488 ( 2.4 / 4.9) 10 MMX166+2 . 1G HD <no@mail.addr>
0.471 ( 1.4 / 3.0) 6 Rene Nyffenegger <rene.nyffenegger@gmx.ch>
0.466 ( 0.8 / 1.7) 3 "Daniel Davidson" <danield@life.uiuc.edu>
0.416 ( 1.3 / 3.1) 6 Ilya Martynov <ilya@martynov.org>
0.414 ( 3.0 / 7.2) 6 Haber Schabernackel <schabernackel@hotmail.com>
0.389 ( 3.2 / 8.1) 5 jay <seandarcy@hotmail.com>
0.296 ( 0.3 / 1.0) 3 "Ciric Vukasin" <cvule@eunet.yu>
0.241 ( 1.3 / 5.3) 3 "Trevor Ward" <tward10@jaguar.invalid>
24 posters (16%) had at least three posts.
Top 10 Targets for Crossposts
=============================
Articles Newsgroup
-------- ---------
25 comp.lang.perl.modules
22 alt.perl
9 comp.lang.java.gui
9 comp.lang.java.corba
9 comp.lang.java.beans
9 comp.lang.java.databases
8 comp.lang.javascript
8 comp.lang.java.api
8 comp.lang.java.misc
8 comp.lang.java.advocacy
Top 10 Crossposters
===================
Articles Address
-------- -------
9 Ken Kalish <kkal@javakk.com>
9 "AV" <avek_nospam_@videotron.ca>
9 William Pietri <william-news-102374@pota.to>
9 "Adam Meikle" <adam@dedekind.com>
8 "Luke Webber" <luke@webber.com.au>
8 Joe Cosby <joecosby@SPAMBLOCKmindspring.com>
6 hux <rhux@cs.brown.edu>
4 sriram <s_swami@yahoo.com>
4 "M.L." <mel2000@hotmaildot.com>
4 "Ken Cotterill" <ken@me.com.au>
------------------------------
Date: Mon, 23 Jul 2001 13:19:46 GMT
From: "Gerard Lapidario" <ghed9@netzero.net>
Subject: Regular Expression Experts
Message-Id: <SvV67.13$ft1.42043@paloalto-snr2.gtei.net>
Hello group,
I need your help with regular expression. I need to extract strings which
fit the format of (\d+)(/(\d+)+
example:
1) asdf132/123-1432
I should get 132/123
2) atm212/32
I should get 212/32
3) a233/322/32
I should get 233/322/32
4) 232/31/232/21/221/21
I should get 232/31/232/21/221/21
Below is my current way of doing it (which doesn't meet the requirement
above):
$Ixfc =~ s%(.*\D|^)((\d+)(/(\d+))+)(.*)%$2%g;
Thanks for the help in advance :-)
------------------------------
Date: Mon, 23 Jul 2001 15:42:29 +0200
From: "Jonas Nilsson" <jonni@nospam.ifm.liu.se>
Subject: Re: Regular Expression Experts
Message-Id: <9jh9ei$5a9$2@newsy.ifm.liu.se>
> I need your help with regular expression. I need to extract strings which
> fit the format of (\d+)(/(\d+)+
>
> example:
> 1) asdf132/123-1432
> I should get 132/123
> 2) atm212/32
> I should get 212/32
> 3) a233/322/32
> I should get 233/322/32
> 4) 232/31/232/21/221/21
> I should get 232/31/232/21/221/21
try this:
$_='a233/322/32';
$hit=$1 if (m/(\d+(\/\d+)+)/);
print $hit;
/jN
------------------------------
Date: Mon, 23 Jul 2001 15:43:46 +0200
From: "Jonas Nilsson" <nospam.jonni@ifm.liu.se>
Subject: Re: Regular Expression Experts
Message-Id: <9jh9h0$5ac$2@newsy.ifm.liu.se>
> I need your help with regular expression. I need to extract strings which
> fit the format of (\d+)(/(\d+)+
>
> example:
> 1) asdf132/123-1432
> I should get 132/123
> 2) atm212/32
> I should get 212/32
> 3) a233/322/32
> I should get 233/322/32
> 4) 232/31/232/21/221/21
> I should get 232/31/232/21/221/21
>
try this:
$_='a233/322/32';
$hit=$1 if (m/(\d+(\/\d+)+)/);
/jN
------------------------------
Date: Mon, 23 Jul 2001 13:55:24 GMT
From: "Gerard Lapidario" <ghed9@netzero.net>
Subject: Re: Regular Expression Experts
Message-Id: <g1W67.14$ft1.54746@paloalto-snr2.gtei.net>
It works, thank you very much Jonas :-}
"Jonas Nilsson" <jonni@nospam.ifm.liu.se> wrote in message
news:9jh9ei$5a9$2@newsy.ifm.liu.se...
> > I need your help with regular expression. I need to extract strings
which
> > fit the format of (\d+)(/(\d+)+
> >
> > example:
> > 1) asdf132/123-1432
> > I should get 132/123
> > 2) atm212/32
> > I should get 212/32
> > 3) a233/322/32
> > I should get 233/322/32
> > 4) 232/31/232/21/221/21
> > I should get 232/31/232/21/221/21
>
>
> try this:
> $_='a233/322/32';
> $hit=$1 if (m/(\d+(\/\d+)+)/);
> print $hit;
> /jN
>
>
------------------------------
Date: Mon, 23 Jul 2001 07:26:45 -0700
From: "Godzilla!" <godzilla@stomp.stomp.tokyo>
Subject: Re: Regular Expression Experts
Message-Id: <3B5C3425.1DECB7B0@stomp.stomp.tokyo>
Gerard Lapidario wrote:
> I need your help with regular expression. I need to extract strings which
> fit the format of (\d+)(/(\d+)+
> example:
> 1) asdf132/123-1432
> I should get 132/123
> 2) atm212/32
> I should get 212/32
> 3) a233/322/32
> I should get 233/322/32
> 4) 232/31/232/21/221/21
> I should get 232/31/232/21/221/21
No regex is needed for this simple task.
Godzilla!
--
TEST SCRIPT:
____________
#!perl
print "Content-type: text/plain\n\n";
$string = "asdf132/123-1432";
&Do_It;
$string = "atm212/32";
&Do_It;
$string = "a233/322/32";
&Do_It;
$string = "232/31/232/21/221/21";
&Do_It;
sub Do_It
{
if (index ($string, "-") > -1)
{ $string = substr ($string, 0, index ($string, "-")); }
$string =~ tr/a-z//d;
print "String: $string\n\n";
}
exit;
PRINTED RESULTS:
________________
String: 132/123
String: 212/32
String: 233/322/32
String: 232/31/232/21/221/21
------------------------------
Date: 23 Jul 2001 07:37:28 -0700
From: graham@aledrinker.co.uk (Graham)
Subject: Re: Remote updating of my website
Message-Id: <6172ee17.0107230637.5741c15a@posting.google.com>
If you do not know Perl, then you will have problems doing the above
quickly.
To do updates via email is possible - if you have access to either the
mail server itself (e.g., write a custom mail filter for
exim/qmail/postfix/sendmail that given a certain subject line, takes
the body of the text and writes/appends it to a file), or your emails
are stored in a certain format in your webspace host (run a cron job
that runs a perl program that reads your inbox/filtered email folder
and grabs the emails with a certain subject line, and then puts all
the content of those emails into a webpage).
If you do the latter, please tell me so I can send rude messages to
that email address with the correct subject line and see them appear
on your website :)
Note that for the latter, you email has to be stored on the webhost -
not on a separate server - this usually implies that you have shell
access on the host as well.
Why not just phone a friend and tell them the stuff for the day and
let them write it up for you?
Graham
------------------------------
Date: 23 Jul 2001 07:44:38 -0700
From: jeffrey.hill1@tycoelectronics.com (Jeff Hill)
Subject: Sendmail with Win32
Message-Id: <2cd423e6.0107230644.4ef68b83@posting.google.com>
First, before anyone flames me, I know this is off subject, but I felt
that this community was much more likely to have someone who has
encountered this situation than the Windows NT community (since most
hardcore MS users wouldn't know a Unix box if it hit them upside the
head).
What I would like to know is if anyone knows of a sendmail utility
that works on Windows NT with Exchange server. The reason I'd like to
use a sendmail compatible program is for portability.
I have a large number of Perl scripts on a Unix platform that notify
me by e-mail when there is a problem. I'd like to use some of them in
an NT/IIS environment without having to do a lot of reconfiguring my
scripts.
Thank you all
Jeff Hill
------------------------------
Date: Mon, 23 Jul 2001 09:48:43 -0400
From: Andras Malatinszky <andras@mortgagestats.com>
Subject: Re: single user mode?
Message-Id: <3B5C2B3B.34398F71@mortgagestats.com>
Bernard El-Hagin wrote:
> On Mon, 23 Jul 2001 19:01:20 +0800, allan <@netvigator.com> wrote:
> >Hi,
> >
> >Does anyone remember how to enter "single" user mode?
>
> Perl doesn't have "single" user mode.
>
You mean it's for married users only?
------------------------------
Date: Mon, 23 Jul 2001 14:04:50 -0000
From: Greg Bacon <gbacon@cs.uah.edu>
Subject: Statistics for comp.lang.perl.misc
Message-Id: <tlobo29hog7gdc@corp.supernews.com>
Following is a summary of articles spanning a 7 day period,
beginning at 16 Jul 2001 15:18:04 GMT and ending at
23 Jul 2001 13:38:36 GMT.
Notes
=====
- A line in the body of a post is considered to be original if it
does *not* match the regular expression /^\s{0,3}(?:>|:|\S+>|\+\+)/.
- All text after the last cut line (/^-- $/) in the body is
considered to be the author's signature.
- The scanner prefers the Reply-To: header over the From: header
in determining the "real" email address and name.
- Original Content Rating (OCR) is the ratio of the original content
volume to the total body volume.
- Find the News-Scan distribution on the CPAN!
<URL:http://www.perl.com/CPAN/modules/by-module/News/>
- Please send all comments to Greg Bacon <gbacon@cs.uah.edu>.
- Copyright (c) 2001 Greg Bacon.
Verbatim copying and redistribution is permitted without royalty;
alteration is not permitted. Redistribution and/or use for any
commercial purpose is prohibited.
Excluded Posters
================
perlfaq-suggestions\@(?:.*\.)?perl\.com
faq\@(?:.*\.)?denver\.pm\.org
Totals
======
Posters: 333
Articles: 982 (377 with cutlined signatures)
Threads: 276
Volume generated: 1819.6 kb
- headers: 813.3 kb (16,051 lines)
- bodies: 955.3 kb (32,699 lines)
- original: 578.3 kb (21,619 lines)
- signatures: 50.0 kb (1,198 lines)
Original Content Rating: 0.605
Averages
========
Posts per poster: 2.9
median: 1 post
mode: 1 post - 172 posters
s: 4.7 posts
Posts per thread: 3.6
median: 2.0 posts
mode: 1 post - 92 threads
s: 3.9 posts
Message size: 1897.4 bytes
- header: 848.1 bytes (16.3 lines)
- body: 996.2 bytes (33.3 lines)
- original: 603.0 bytes (22.0 lines)
- signature: 52.1 bytes (1.2 lines)
Top 10 Posters by Number of Posts
=================================
(kb) (kb) (kb) (kb)
Posts Volume ( hdr/ body/ orig) Address
----- -------------------------- -------
35 63.6 ( 31.1/ 26.6/ 16.9) "Philip 'Yes, that's my address' Newton" <nospam.newton@gmx.li>
33 58.4 ( 26.3/ 31.0/ 10.7) "John W. Krahn" <krahnj@acm.org>
28 66.0 ( 24.5/ 41.5/ 30.3) "Godzilla!" <godzilla@stomp.stomp.tokyo>
25 53.4 ( 28.5/ 21.4/ 12.2) tadmc@augustmail.com
23 64.6 ( 18.8/ 44.5/ 26.6) Benjamin Goldberg <goldbb2@earthlink.net>
19 39.6 ( 16.8/ 19.2/ 18.2) abigail@foad.org
19 33.8 ( 15.8/ 18.0/ 11.7) Eric Bohlman <ebohlman@omsdev.com>
19 29.2 ( 17.2/ 11.8/ 6.6) Bart Lateur <bart.lateur@skynet.be>
16 33.2 ( 13.2/ 20.0/ 13.4) Michael Carman <mjcarman@home.com>
13 24.4 ( 9.7/ 14.7/ 5.9) Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
These posters accounted for 23.4% of all articles.
Top 10 Posters by Volume
========================
(kb) (kb) (kb) (kb)
Volume ( hdr/ body/ orig) Posts Address
-------------------------- ----- -------
66.0 ( 24.5/ 41.5/ 30.3) 28 "Godzilla!" <godzilla@stomp.stomp.tokyo>
64.6 ( 18.8/ 44.5/ 26.6) 23 Benjamin Goldberg <goldbb2@earthlink.net>
63.6 ( 31.1/ 26.6/ 16.9) 35 "Philip 'Yes, that's my address' Newton" <nospam.newton@gmx.li>
58.4 ( 26.3/ 31.0/ 10.7) 33 "John W. Krahn" <krahnj@acm.org>
53.4 ( 28.5/ 21.4/ 12.2) 25 tadmc@augustmail.com
39.6 ( 16.8/ 19.2/ 18.2) 19 abigail@foad.org
33.8 ( 15.8/ 18.0/ 11.7) 19 Eric Bohlman <ebohlman@omsdev.com>
33.2 ( 13.2/ 20.0/ 13.4) 16 Michael Carman <mjcarman@home.com>
29.2 ( 17.2/ 11.8/ 6.6) 19 Bart Lateur <bart.lateur@skynet.be>
27.0 ( 0.8/ 26.3/ 25.6) 1 NOSPAMlekkerinsydney@ozemail.com.au
These posters accounted for 25.8% of the total volume.
Top 10 Posters by OCR (minimum of five posts)
==============================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
0.949 ( 18.2 / 19.2) 19 abigail@foad.org
0.902 ( 5.0 / 5.5) 6 John Almberg <jalmberg@identry.com>
0.797 ( 3.9 / 4.9) 5 Ilmari Karonen <usenet11520@itz.pp.sci.fi>
0.732 ( 30.3 / 41.5) 28 "Godzilla!" <godzilla@stomp.stomp.tokyo>
0.699 ( 1.3 / 1.8) 5 * Tong * <sun_tong@users.sourceforge.net>
0.698 ( 3.2 / 4.6) 6 "Aman Patel" <patelnavin@icenet.net>
0.688 ( 4.8 / 7.0) 7 Ilmari Karonen <usenet11522@itz.pp.sci.fi>
0.685 ( 6.3 / 9.2) 6 ekulis@apple.com
0.669 ( 13.4 / 20.0) 16 Michael Carman <mjcarman@home.com>
0.665 ( 7.4 / 11.2) 12 Jeff Zucker <jeff@vpservices.com>
Bottom 10 Posters by OCR (minimum of five posts)
=================================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
0.389 ( 3.2 / 8.1) 5 jay <seandarcy@hotmail.com>
0.361 ( 1.9 / 5.3) 7 John Imrie <john.imrie@pasport.press.net>
0.360 ( 2.6 / 7.1) 11 Andras Malatinszky <andras@mortgagestats.com>
0.356 ( 2.6 / 7.4) 8 Craig Berry <cberry@cinenet.net>
0.345 ( 10.7 / 31.0) 33 "John W. Krahn" <krahnj@acm.org>
0.342 ( 0.9 / 2.6) 5 Akira Yamanita <ayamanita.nospam@bigfoot.com>
0.312 ( 2.9 / 9.3) 11 dbe@todbe.com
0.300 ( 3.7 / 12.3) 12 Mark Grimshaw <m.grimshaw@salford.ac.uk>
0.292 ( 2.0 / 6.8) 9 mc <nospam@home.com>
0.289 ( 2.4 / 8.1) 5 stephh <stephh@nospam.com>
49 posters (14%) had at least five posts.
Top 10 Threads by Number of Posts
=================================
Posts Subject
----- -------
29 Including flock in code while developing in Windows for Unix??
25 dumb question
14 Collin hates subject lines.
13 All computers in world MUST sync with ATOMIC clock before 12:00 AM 21July 2001
13 How to run Perl on MS-DOS
13 Request for Comments ... ConvertColorspace.pm
13 don't laugh
12 Using a Perl module outside from Perl-dir?
12 Perl or PHP?
12 Repetitive if statements
These threads accounted for 15.9% of all articles.
Top 10 Threads by Volume
========================
(kb) (kb) (kb) (kb)
Volume ( hdr/ body/ orig) Posts Subject
-------------------------- ----- -------
59.2 ( 32.0/ 26.5/ 13.3) 29 Including flock in code while developing in Windows for Unix??
46.7 ( 19.9/ 26.0/ 14.5) 25 dumb question
35.8 ( 12.9/ 22.7/ 13.5) 13 Request for Comments ... ConvertColorspace.pm
34.2 ( 10.7/ 23.3/ 14.3) 12 Repetitive if statements
31.8 ( 11.2/ 20.1/ 9.8) 14 Collin hates subject lines.
30.7 ( 1.7/ 28.8/ 27.0) 2 (long) advice needed: how robust is this script ? and other questions :)
27.4 ( 11.8/ 15.0/ 7.7) 12 where is the "standard library"
25.0 ( 13.9/ 10.4/ 4.1) 13 All computers in world MUST sync with ATOMIC clock before 12:00 AM 21July 2001
23.4 ( 12.0/ 10.5/ 6.4) 12 Using a Perl module outside from Perl-dir?
22.7 ( 10.0/ 12.1/ 6.5) 11 tab sperated line to named hash?
These threads accounted for 18.5% of the total volume.
Top 10 Threads by OCR (minimum of five posts)
==============================================
(kb) (kb)
OCR orig / body Posts Subject
----- -------------- ----- -------
0.767 ( 10.4/ 13.6) 8 perl regular expression grammar
0.762 ( 1.2/ 1.6) 6 read the 9th column
0.753 ( 7.7/ 10.2) 5 Request Peformance Advice
0.730 ( 6.0/ 8.3) 5 Tangled Up in Array
0.711 ( 2.5/ 3.5) 6 Disabling IE toolbar
0.709 ( 7.0/ 9.9) 9 Who can help me about the confused (..) operator?
0.702 ( 5.9/ 8.4) 7 Obtaining remote users ip
0.698 ( 3.7/ 5.3) 6 problems with chdir
0.674 ( 7.4/ 10.9) 12 Perl or PHP?
0.672 ( 2.5/ 3.7) 8 Including a perl file into another perl file???
Bottom 10 Threads by OCR (minimum of five posts)
=================================================
(kb) (kb)
OCR orig / body Posts Subject
----- -------------- ----- -------
0.440 ( 4.4 / 10.0) 6 about image::Magick quality.
0.435 ( 0.7 / 1.5) 5 #### ADD 6 INCHES TO YOUR PENIS ##### 2830
0.427 ( 3.8 / 9.0) 13 How to run Perl on MS-DOS
0.423 ( 2.6 / 6.2) 5 Any perl module for XML Explorer tree display/edit?
0.396 ( 1.2 / 3.1) 5 imagemagick/perlmagick for windows 2000
0.392 ( 1.5 / 3.7) 5 regexp matching pairs
0.391 ( 4.1 / 10.4) 13 All computers in world MUST sync with ATOMIC clock before 12:00 AM 21July 2001
0.387 ( 1.5 / 3.8) 5 Hashes of arrays
0.365 ( 2.0 / 5.6) 5 HELP WITH PERLDAP!!!!!!!!!
0.154 ( 0.8 / 5.0) 5 Regex help
74 threads (26%) had at least five posts.
Top 10 Targets for Crossposts
=============================
Articles Newsgroup
-------- ---------
25 comp.lang.perl.modules
22 alt.perl
9 comp.lang.java.gui
9 comp.lang.java.corba
9 comp.lang.java.beans
9 comp.lang.java.databases
8 comp.lang.javascript
8 comp.lang.java.api
8 comp.lang.java.misc
8 comp.lang.java.advocacy
Top 10 Crossposters
===================
Articles Address
-------- -------
9 "Adam Meikle" <adam@dedekind.com>
9 alavoor <alavoor@yahoo.com>
9 "AV" <avek_nospam_@videotron.ca>
9 William Pietri <william-news-102374@pota.to>
9 Ken Kalish <kkal@javakk.com>
8 "Stuart Moore" <stumo@bigfoot.com>
8 Joe Cosby <joecosby@SPAMBLOCKmindspring.com>
8 "Luke Webber" <luke@webber.com.au>
6 hux <rhux@cs.brown.edu>
5 Benjamin Goldberg <goldbb2@earthlink.net>
------------------------------
Date: 23 Jul 2001 07:27:28 -0700
From: kevin@parr.net (Kevin der Kinderen)
Subject: Upgrade Perl on RH7.1 From Source
Message-Id: <6e6452ff.0107230627.6d21afb@posting.google.com>
I think I killed perl on RH7.1. I tried perl -MCPAN -e 'install
Bundle::CPAN'
Looked like everything was going great (except couldn't do WAIT).
When I tried running some perl examples I started getting errors about
5.6.0 incorrect version.
I've got no idea what I killed or how to restore. My first big Perl
mistake. Can someone help bail me out? The goal is to upgrade from the
5.6.0 rpm that is loaded on rh7.1 to 5.6.1 (possibly using the above
command).
Thanks,
Kevin
kevin@parr.net
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
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.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.
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 V10 Issue 1359
***************************************