[17514] in Perl-Users-Digest
Perl-Users Digest, Issue: 4934 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Nov 20 14:10:37 2000
Date: Mon, 20 Nov 2000 11:10:10 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <974747410-v9-i4934@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Mon, 20 Nov 2000 Volume: 9 Number: 4934
Today's topics:
New posters to comp.lang.perl.misc <gbacon@cs.uah.edu>
Re: Problem running CGI from HTML <sladb69@magma.ca>
Re: Problem running CGI from HTML <geoff@800-800-cruise.com>
Redirect back to calling page swilsonnissa@my-deja.com
Re: Redirect back to calling page <hmerrill@my-deja.com>
Re: starting a perl script as an NT service (Honza Pazdziora)
Statistics for comp.lang.perl.misc <gbacon@cs.uah.edu>
Re: Win32 Socket server problem <jgreenwo@sentinel.com>
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 20 Nov 2000 16:36:38 -0000
From: Greg Bacon <gbacon@cs.uah.edu>
Subject: New posters to comp.lang.perl.misc
Message-Id: <t1ikom7mq80d46@corp.supernews.com>
Following is a summary of articles from new posters spanning a 7 day
period, beginning at 13 Nov 2000 16:06:30 GMT and ending at
20 Nov 2000 14:04:52 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) 2000 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: 177 (42.3% of all posters)
Articles: 319 (25.7% of all articles)
Volume generated: 555.2 kb (25.1% of total volume)
- headers: 257.1 kb (5,098 lines)
- bodies: 292.8 kb (9,962 lines)
- original: 218.4 kb (7,761 lines)
- signatures: 5.1 kb (130 lines)
Original Content Rating: 0.746
Averages
========
Posts per poster: 1.8
median: 1 post
mode: 1 post - 114 posters
s: 2.3 posts
Message size: 1782.3 bytes
- header: 825.2 bytes (16.0 lines)
- body: 939.8 bytes (31.2 lines)
- original: 701.1 bytes (24.3 lines)
- signature: 16.3 bytes (0.4 lines)
Top 10 Posters by Number of Posts
=================================
(kb) (kb) (kb) (kb)
Posts Volume ( hdr/ body/ orig) Address
----- -------------------------- -------
21 30.4 ( 23.0/ 7.3/ 6.3) "John Boy Walton" <johngros@Spam.bigpond.net.au>
14 48.9 ( 15.0/ 33.8/ 22.3) "Simon Watkins" <siwatkins@iee.org>
10 14.5 ( 7.8/ 6.7/ 4.4) guthrie_linck@my-deja.com
9 17.4 ( 6.7/ 10.7/ 6.3) fhinchey@my-deja.com
7 13.7 ( 6.7/ 7.0/ 4.6) "StevieD" <stevie_d38nospam@hotmail.com>
5 9.1 ( 4.5/ 3.4/ 2.2) Ilmari Karonen <usenet11280@itz.pp.sci.fi>
5 18.9 ( 3.1/ 15.8/ 14.8) tech-removethis-@rch-usa.com
4 5.1 ( 4.0/ 1.1/ 0.7) Jeff Ross <jeffross@bendcable.com>
4 4.4 ( 2.6/ 1.8/ 1.8) blue <kmlim@cheerful.com>
4 5.0 ( 3.0/ 2.0/ 1.6) Scott Thornton <sladb69@magma.ca>
These posters accounted for 6.7% of all articles.
Top 10 Posters by Volume
========================
(kb) (kb) (kb) (kb)
Volume ( hdr/ body/ orig) Posts Address
-------------------------- ----- -------
48.9 ( 15.0/ 33.8/ 22.3) 14 "Simon Watkins" <siwatkins@iee.org>
30.4 ( 23.0/ 7.3/ 6.3) 21 "John Boy Walton" <johngros@Spam.bigpond.net.au>
18.9 ( 3.1/ 15.8/ 14.8) 5 tech-removethis-@rch-usa.com
17.4 ( 6.7/ 10.7/ 6.3) 9 fhinchey@my-deja.com
16.6 ( 2.4/ 14.1/ 13.1) 3 softh@bellsouth.net
14.5 ( 7.8/ 6.7/ 4.4) 10 guthrie_linck@my-deja.com
13.7 ( 6.7/ 7.0/ 4.6) 7 "StevieD" <stevie_d38nospam@hotmail.com>
9.1 ( 4.5/ 3.4/ 2.2) 5 Ilmari Karonen <usenet11280@itz.pp.sci.fi>
7.4 ( 0.7/ 6.7/ 6.2) 1 krystd@my-deja.com
7.1 ( 2.4/ 4.7/ 3.9) 3 mmthoma@attglobal.net
These posters accounted for 8.3% of the total volume.
Top 10 Posters by OCR (minimum of three posts)
==============================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
1.000 ( 1.8 / 1.8) 4 blue <kmlim@cheerful.com>
1.000 ( 1.2 / 1.2) 3 Matt Daemon <matt_daemon@webtv.net>
0.941 ( 1.1 / 1.2) 3 claudej <claudej@videotron.ca>
0.937 ( 14.8 / 15.8) 5 tech-removethis-@rch-usa.com
0.928 ( 13.1 / 14.1) 3 softh@bellsouth.net
0.918 ( 1.6 / 1.8) 3 "hokiebear" <ayambema@adelphia.net>
0.865 ( 1.9 / 2.2) 3 Michael Koehne <not-for-mail@copyleft.de>
0.861 ( 6.3 / 7.3) 21 "John Boy Walton" <johngros@Spam.bigpond.net.au>
0.845 ( 1.7 / 2.0) 3 "Zeek" <burton_1080@yahoo.com>
0.830 ( 3.9 / 4.7) 3 mmthoma@attglobal.net
Bottom 10 Posters by OCR (minimum of three posts)
=================================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
0.658 ( 22.3 / 33.8) 14 "Simon Watkins" <siwatkins@iee.org>
0.656 ( 4.4 / 6.7) 10 guthrie_linck@my-deja.com
0.655 ( 2.2 / 3.4) 5 Ilmari Karonen <usenet11280@itz.pp.sci.fi>
0.588 ( 6.3 / 10.7) 9 fhinchey@my-deja.com
0.576 ( 1.7 / 3.0) 3 "Mauro" <-@-.com>
0.541 ( 1.7 / 3.1) 3 "David Marvil" <captmarvil@rcn.com>
0.537 ( 0.7 / 1.4) 3 Ilmari Karonen <usenet11281@itz.pp.sci.fi>
0.420 ( 1.3 / 3.0) 3 Ron Hartikka <ronh@iainc.com>
0.417 ( 1.5 / 3.6) 3 cmon_209@hotmail.com
0.348 ( 0.6 / 1.8) 3 "Jopa" <junk@beetfoundation.com>
26 posters (14%) had at least three posts.
Top 10 Targets for Crossposts
=============================
Articles Newsgroup
-------- ---------
40 comp.lang.perl.modules
8 comp.lang.perl
5 comp.os.linux.networking
5 comp.client-server
5 comp.unix.bsd.freebsd.misc
4 comp.lang.perl.tk
4 comp.lang.perl.moderated
3 comp.lang.tcl
3 comp.programming
3 comp.os.linux.admin
Top 10 Crossposters
===================
Articles Address
-------- -------
8 "Sam Tsui" <sam@cplhk.com>
6 "Markus Elfring" <ELF@Messer.de>
4 Ron Hartikka <ronh@iainc.com>
4 blue <kmlim@cheerful.com>
4 "Thomas Mager" <Thomas.Mager@nikocity.de>
4 "Dan" <drinkbeer3@hotmail.com>
3 Joel Saunier <jsaunier@my-deja.com>
3 M. Lavasani <lavasani@connect.org.uk>
3 Michael Koehne <not-for-mail@copyleft.de>
2 "Richard Kewish" <r.kewish@iname.com>
------------------------------
Date: Mon, 20 Nov 2000 16:43:03 GMT
From: Scott Thornton <sladb69@magma.ca>
Subject: Re: Problem running CGI from HTML
Message-Id: <3A1954B3.8D23374D@magma.ca>
Thanks to both of you. I am running the Xitami web server. I didn't
realize that there was a seperate config file for SSI stuff. It works now.
Thanks guys.
Scott
Scott Thornton wrote:
> I have a very simple web page that I am trying to run a very simple perl
> script in. Here is the web page:
>
> <HTML><HEAD></HEAD><BODY>
> Before perl script
> <!--#exec cgi="/cgi-bin/test2.pl"-->
> After perl script
> </BODY></HTML>
>
> and here is the perl script,
>
> #!c:/perl/bin/perl
> print "From the Perl Script";
>
> When I view the webpage in my browser, all I see is "Before perl script
> After perl script". The test2.pl program doesn't seem to run. If I
> just access the test2.pl file from my browser I get "From the Perl
> Script". I have tried changing the path to the perl script from
> relative to absolute,and I have tried with and without the leading /.
> What could be the problem?
>
> Scott
------------------------------
Date: Mon, 20 Nov 2000 09:49:28 -0800
From: "GC" <geoff@800-800-cruise.com>
Subject: Re: Problem running CGI from HTML
Message-Id: <htdS5.3543$l95.28621@nntp1.onemain.com>
Yes, it's OT - SSI but here you go...
> <HTML><HEAD></HEAD><BODY>
> Before perl script
> <!--#exec cgi="/cgi-bin/test2.pl"-->
> After perl script
> </BODY></HTML>
<!--#include virtual="cgi-bin/test2.pl"-->
rename your .html, .shtml and you're all set. If you can't rename your
.html .shtml (why??) then use .htaccess:
AddType application/x-httpd-cgi filename.html
HTH
Geoff
------------------------------
Date: Mon, 20 Nov 2000 16:02:26 GMT
From: swilsonnissa@my-deja.com
Subject: Redirect back to calling page
Message-Id: <8vbhud$fqp$1@nnrp1.deja.com>
I have an ASP page designed in FP2000 which calls a Perl script that
sends an email containing some relevant details from the ASP page. The
problem is, I can't get the Perl script to take me back to the page that
called it. I have only been using Perl for a day or two, and am
basically changing lines of code in existing Perl scripts to see what
they do.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Mon, 20 Nov 2000 16:54:57 GMT
From: Hardy Merrill <hmerrill@my-deja.com>
Subject: Re: Redirect back to calling page
Message-Id: <8vbl0t$ij2$1@nnrp1.deja.com>
In article <8vbhud$fqp$1@nnrp1.deja.com>,
swilsonnissa@my-deja.com wrote:
> I have an ASP page designed in FP2000 which calls a Perl script that
> sends an email containing some relevant details from the ASP page. The
> problem is, I can't get the Perl script to take me back to the page
that
> called it. I have only been using Perl for a day or two, and am
> basically changing lines of code in existing Perl scripts to see what
> they do.
I'm not familiar with FP2000, but as a debugging tool to help you figure
out what environment variables exist(maybe you can use), one thing I do
is in the perl script invoke some command which will tell you what
envirmonment variables exist. In Unix and Linux, we can use "set" or
"printenv". If you invoke that command with backticks, you can capture
the output, like this:
@printenv = `printenv`;
Each line of output from command "printenv" will be captured in an
element of array @printenv. Then, when you "print" your screen, you can
just print the contents of array @printenv - then you'll know what
environment variables exist for that script. One that might be useful
to you is HTTP_REFERER, which tells you which URL "refered" to your
script - you might be able to use that to redirect back to.
HTH.
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Mon, 20 Nov 2000 17:29:03 GMT
From: adelton@fi.muni.cz (Honza Pazdziora)
Subject: Re: starting a perl script as an NT service
Message-Id: <G4C38F.LKu@news.muni.cz>
On Mon, 20 Nov 2000 09:10:10 -0600, Neil Trenholm <neil@alaweb.com> wrote:
>
> If this is to the wrong group - please redirect me - I have looked for an NT
> group - and may have missed it/them.
Perhaps it's not possible then.
> I have looked through all of the perl docs and CPAN and the perl.org
> website - to no avail.
Expected.
> I would like to start a perl script as a Windows NT service. If anyone has
> any suggestions or ideas I would be very grateful.
There's thing called AutoExNT, distributed in some service pack.
Yours,
--
------------------------------------------------------------------------
Honza Pazdziora | adelton@fi.muni.cz | http://www.fi.muni.cz/~adelton/
.project: Perl, DBI, Oracle, MySQL, auth. WWW servers, MTB, Spain.
Petition for a Software Patent Free Europe http://petition.eurolinux.org
------------------------------------------------------------------------
------------------------------
Date: Mon, 20 Nov 2000 16:36:22 -0000
From: Greg Bacon <gbacon@cs.uah.edu>
Subject: Statistics for comp.lang.perl.misc
Message-Id: <t1iko6mqgglk44@corp.supernews.com>
Following is a summary of articles spanning a 7 day period,
beginning at 13 Nov 2000 16:06:30 GMT and ending at
20 Nov 2000 14:04:52 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) 2000 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
Totals
======
Posters: 418
Articles: 1243 (492 with cutlined signatures)
Threads: 348
Volume generated: 2215.7 kb
- headers: 994.8 kb (19,921 lines)
- bodies: 1157.3 kb (38,550 lines)
- original: 738.9 kb (26,709 lines)
- signatures: 62.4 kb (1,451 lines)
Original Content Rating: 0.638
Averages
========
Posts per poster: 3.0
median: 1.0 post
mode: 1 post - 231 posters
s: 5.9 posts
Posts per thread: 3.6
median: 2.5 posts
mode: 2 posts - 93 threads
s: 7.4 posts
Message size: 1825.3 bytes
- header: 819.6 bytes (16.0 lines)
- body: 953.4 bytes (31.0 lines)
- original: 608.7 bytes (21.5 lines)
- signature: 51.4 bytes (1.2 lines)
Top 10 Posters by Number of Posts
=================================
(kb) (kb) (kb) (kb)
Posts Volume ( hdr/ body/ orig) Address
----- -------------------------- -------
65 147.2 ( 55.0/ 79.5/ 51.3) mgjv@tradingpost.com.au
39 55.4 ( 30.1/ 19.5/ 12.1) Gwyn Judd <tjla@guvfybir.qlaqaf.bet>
39 53.5 ( 32.2/ 21.0/ 12.9) Bart Lateur <bart.lateur@skynet.be>
34 68.5 ( 26.8/ 41.2/ 21.7) garry@zvolve.com
33 61.3 ( 30.7/ 30.5/ 20.5) "Wyzelli" <wyzelli@yahoo.com>
30 53.1 ( 23.7/ 25.3/ 16.2) Tad McClellan <tadmc@metronet.com>
21 32.6 ( 16.0/ 16.4/ 11.1) Jeff Zucker <jeff@vpservices.com>
21 30.4 ( 23.0/ 7.3/ 6.3) "John Boy Walton" <johngros@Spam.bigpond.net.au>
18 26.2 ( 12.8/ 12.7/ 8.2) Chris Fedde <cfedde@fedde.littleton.co.us>
16 24.3 ( 11.5/ 12.0/ 5.9) Rafael Garcia-Suarez <rgarciasuarez@free.fr>
These posters accounted for 25.4% of all articles.
Top 10 Posters by Volume
========================
(kb) (kb) (kb) (kb)
Volume ( hdr/ body/ orig) Posts Address
-------------------------- ----- -------
147.2 ( 55.0/ 79.5/ 51.3) 65 mgjv@tradingpost.com.au
68.5 ( 26.8/ 41.2/ 21.7) 34 garry@zvolve.com
61.3 ( 30.7/ 30.5/ 20.5) 33 "Wyzelli" <wyzelli@yahoo.com>
55.4 ( 30.1/ 19.5/ 12.1) 39 Gwyn Judd <tjla@guvfybir.qlaqaf.bet>
53.5 ( 32.2/ 21.0/ 12.9) 39 Bart Lateur <bart.lateur@skynet.be>
53.1 ( 23.7/ 25.3/ 16.2) 30 Tad McClellan <tadmc@metronet.com>
48.9 ( 15.0/ 33.8/ 22.3) 14 "Simon Watkins" <siwatkins@iee.org>
39.0 ( 5.4/ 33.6/ 21.9) 9 mischief@velma.motion.net
32.6 ( 16.0/ 16.4/ 11.1) 21 Jeff Zucker <jeff@vpservices.com>
30.4 ( 23.0/ 7.3/ 6.3) 21 "John Boy Walton" <johngros@Spam.bigpond.net.au>
These posters accounted for 26.6% of the total volume.
Top 10 Posters by OCR (minimum of five posts)
==============================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
1.000 ( 7.7 / 7.7) 11 "Johan Ditmar" <johan.ditmar@era.ericsson.se>
1.000 ( 9.9 / 9.9) 13 David Steuber <nospam@david-steuber.com>
0.937 ( 14.8 / 15.8) 5 tech-removethis-@rch-usa.com
0.861 ( 6.3 / 7.3) 21 "John Boy Walton" <johngros@Spam.bigpond.net.au>
0.793 ( 11.3 / 14.2) 11 Logan Shaw <logan@cs.utexas.edu>
0.756 ( 14.4 / 19.0) 13 "Kurt Stephens" <kstep@pepsdesign.com>
0.730 ( 10.0 / 13.8) 15 dtbaker_dejanews@my-deja.com
0.691 ( 15.0 / 21.8) 5 Alan Melton <arm@home.com>
0.678 ( 11.1 / 16.4) 21 Jeff Zucker <jeff@vpservices.com>
0.673 ( 20.5 / 30.5) 33 "Wyzelli" <wyzelli@yahoo.com>
Bottom 10 Posters by OCR (minimum of five posts)
=================================================
(kb) (kb)
OCR orig / body Posts Address
----- -------------- ----- -------
0.476 ( 8.6 / 18.1) 10 Ameen Dausha <ameen@dausha.net>
0.466 ( 1.6 / 3.5) 5 "Mike Mesarch" <mesarch@ee.net>
0.464 ( 1.4 / 3.1) 6 Tony Curtis <tony_curtis32@yahoo.com>
0.463 ( 3.2 / 7.0) 5 "Dave Cross" <dave@dave.org.uk>
0.447 ( 2.2 / 5.0) 11 Uri Guttman <uri@sysarch.com>
0.446 ( 3.3 / 7.5) 12 Anno Siegel <anno4000@lublin.zrz.tu-berlin.de>
0.412 ( 4.5 / 10.8) 15 adelton@informatics.muni.cz
0.405 ( 3.8 / 9.4) 10 Joe Schaefer <joe+usenet@sunstarsys.com>
0.355 ( 2.2 / 6.1) 10 "Geoff Winkless" <geoff-at-farmline-dot-com@127.0.0.1>
0.351 ( 1.4 / 4.0) 7 adamf@box43.gnet.pl
47 posters (11%) had at least five posts.
Top 10 Threads by Number of Posts
=================================
Posts Subject
----- -------
32 No idea about perl, Long post, short question
29 IP geography
26 Beginners blues.
23 Date
20 Problems saving an uploaded file.
16 trim() equivalent in Perl?
13 Beginners Blues II
13 Use of uninitialized value in hash slice
13 Please tell me why this code is wrong (ActiveState build 613 on Winblows)
12 Perl List Question
These threads accounted for 15.8% of all articles.
Top 10 Threads by Volume
========================
(kb) (kb) (kb) (kb)
Volume ( hdr/ body/ orig) Posts Subject
-------------------------- ----- -------
108.5 ( 31.6/ 74.6/ 47.8) 32 No idea about perl, Long post, short question
52.4 ( 25.8/ 23.3/ 12.0) 29 IP geography
51.3 ( 19.7/ 31.3/ 16.0) 23 Date
47.0 ( 28.3/ 17.7/ 12.4) 26 Beginners blues.
32.6 ( 5.6/ 26.4/ 16.6) 7 Problem with chomp and print
29.2 ( 13.5/ 14.9/ 11.5) 20 Problems saving an uploaded file.
28.7 ( 12.4/ 15.6/ 12.0) 13 Please tell me why this code is wrong (ActiveState build 613 on Winblows)
23.5 ( 13.0/ 9.7/ 5.8) 16 trim() equivalent in Perl?
22.5 ( 5.7/ 16.4/ 15.1) 8 Newbie Rename() Function
21.9 ( 10.6/ 10.8/ 5.8) 13 Use of uninitialized value in hash slice
These threads accounted for 18.9% of the total volume.
Top 10 Threads by OCR (minimum of five posts)
==============================================
(kb) (kb)
OCR orig / body Posts Subject
----- -------------- ----- -------
0.921 ( 15.1/ 16.4) 8 Newbie Rename() Function
0.886 ( 14.0/ 15.8) 6 Strange behavior from localtime() Oct31 2000 or later
0.794 ( 2.6/ 3.3) 6 Concatenating files
0.792 ( 8.4/ 10.6) 9 retrieve URL from text file
0.778 ( 8.2/ 10.6) 8 rearranging a text file
0.772 ( 11.5/ 14.9) 20 Problems saving an uploaded file.
0.766 ( 12.0/ 15.6) 13 Please tell me why this code is wrong (ActiveState build 613 on Winblows)
0.742 ( 2.7/ 3.6) 5 CR LF to <br> in REGEX
0.726 ( 2.2/ 3.0) 5 Why are references useful?
0.707 ( 5.1/ 7.2) 9 Newbee question, help wanted !
Bottom 10 Threads by OCR (minimum of five posts)
=================================================
(kb) (kb)
OCR orig / body Posts Subject
----- -------------- ----- -------
0.443 ( 2.8 / 6.4) 5 Document management question!
0.428 ( 1.7 / 4.0) 6 sleep & $anything question
0.422 ( 2.9 / 6.9) 9 Mail
0.419 ( 2.9 / 6.8) 5 Removing New Page character from a text file
0.413 ( 2.4 / 5.7) 6 perl readdir() question...
0.411 ( 1.8 / 4.4) 6 raw ethernet
0.407 ( 1.3 / 3.2) 8 Simple regex problem
0.389 ( 2.7 / 6.9) 6 Problems compiling DBI and HP-UX 11.0
0.380 ( 5.0 / 13.2) 5 What's wrong with the script
0.322 ( 3.2 / 10.0) 6 display shell alias in perl?
76 threads (21%) had at least five posts.
Top 10 Targets for Crossposts
=============================
Articles Newsgroup
-------- ---------
40 comp.lang.perl.modules
8 comp.lang.perl
5 comp.os.linux.networking
5 comp.client-server
5 comp.unix.bsd.freebsd.misc
4 comp.lang.perl.tk
4 comp.lang.perl.moderated
3 comp.lang.tcl
3 comp.programming
3 comp.os.linux.admin
Top 10 Crossposters
===================
Articles Address
-------- -------
8 "Sam Tsui" <sam@cplhk.com>
6 dtbaker_dejanews@my-deja.com
6 "Markus Elfring" <ELF@Messer.de>
4 "Dan" <drinkbeer3@hotmail.com>
4 Ron Hartikka <ronh@iainc.com>
4 phil@redbrick.dcu.ie
4 blue <kmlim@cheerful.com>
4 "Thomas Mager" <Thomas.Mager@nikocity.de>
3 Frank Harris <fharris@xmission.com>
3 mgjv@tradingpost.com.au
------------------------------
Date: Mon, 20 Nov 2000 10:50:08 -0600
From: "Joseph Greenwood" <jgreenwo@sentinel.com>
Subject: Re: Win32 Socket server problem
Message-Id: <8vblp7$7vq$1@flood.xnet.com>
Maybe check your Max Connections parm in IOSocket...
use SOMAXCONN.
Darren Dunham wrote in message ...
>Stuart MacCallum <stuart.maccallum@wisesystems.co.uk> wrote:
>> Hi
>
>> Thanks in advance
>
>> I have written a concurrent message sockets server in Perl. It will have
to
>> work on linux and NT machines. There is no problem in running the code on
a
>> linux machine however on an NT machine the messaging service stops
working
>> after 125 messages have been received and informs me that there is an
error
>> when trying to connect to the message server. I am using the fork()
function
>> and using the $SIG{CHLD} variable to free up the process after it has
>> completed.
>
>Well, NT doesn't really have a fork(), so perl is faking it. You should
>make sure you're not hitting any limitations mentioned in perlfork.
>
>You may also have found a bug or something. And read the ActiveState
>(if that's what you're using) documentation about the limitations of
>signals.
>
>> Does anybody know the significance of the 125?? Is Perl only aloud to use
>> 125 sockets before they have to be reused, this would explain the
connection
>> problem.
>
>> I am using Perl 5.6
>
>It's possible that you may have better luck by calling threads directly.
>
>--
>Darren Dunham ddunham@taos.com
>Unix System Administrator Taos - The SysAdmin Company
>Got some Dr Pepper? San Francisco, CA bay area
> < Please move on, ...nothing to see here, please disperse >
------------------------------
Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 16 Sep 99)
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.
| NOTE: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.
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 V9 Issue 4934
**************************************